mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 00:36:39 +00:00
NewTicketSubmit in progress
This commit is contained in:
parent
299aa37bb1
commit
633ba47396
1 changed files with 3 additions and 4 deletions
|
|
@ -32,13 +32,12 @@ export const NewTicketModal: FC<IProps> = ({ show, handleClose, allUsers }) => {
|
|||
e: FormEvent
|
||||
) => {
|
||||
e.preventDefault();
|
||||
let newTicket: Ticket = {
|
||||
let newTicket = {
|
||||
title: title,
|
||||
description: description,
|
||||
endingDate: endingDate,
|
||||
id: 0,
|
||||
status: "",
|
||||
project: {} as Project
|
||||
creatorId: "20bf4b2a-7209-4826-96cd-29c2bc937a94",
|
||||
projectId: 1
|
||||
};
|
||||
console.log(newTicket);
|
||||
const response: HttpResponse<Ticket> = await post<Ticket>(
|
||||
|
|
|
|||
Loading…
Reference in a new issue