From 2ca3c26618e5d310510e4df590ab7762eac5fe61 Mon Sep 17 00:00:00 2001 From: mraysu Date: Thu, 15 Feb 2024 15:35:50 -0800 Subject: [PATCH] Changed TransformedData Type --- frontend/src/api/students.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/api/students.ts b/frontend/src/api/students.ts index 34536698..ea20c456 100644 --- a/frontend/src/api/students.ts +++ b/frontend/src/api/students.ts @@ -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"; @@ -19,7 +19,7 @@ export type Student = { otherString?: string; }; -export type CreateStudentRequest = StudentFormData; +export type CreateStudentRequest = StudentData; type StudentJSON = { _id: string;