Skip to content

Commit

Permalink
Changed TransformedData Type
Browse files Browse the repository at this point in the history
  • Loading branch information
mraysu committed Feb 15, 2024
1 parent 781c02e commit 2ca3c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/api/students.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { POST, handleAPIError } from "../api/requests";
import { Contact, StudentFormData } from "../components/StudentForm/types";
import { Contact, StudentData } from "../components/StudentForm/types";

import type { APIResult } from "../api/requests";

Expand All @@ -19,7 +19,7 @@ export type Student = {
otherString?: string;
};

export type CreateStudentRequest = StudentFormData;
export type CreateStudentRequest = StudentData;

type StudentJSON = {
_id: string;
Expand Down

0 comments on commit 2ca3c26

Please sign in to comment.