Skip to content

Commit

Permalink
feat: 파일 불러오는 api 호출 로직 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed Aug 25, 2024
1 parent b95ff8e commit 69f4f3b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions frontend/src/lib/api/server.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,6 @@ export async function getMilestoneHistory(historyId: number) {
return response;
}

export async function getFile(fileName: string | null) {
const response = await server
.get<Blob>(`/files/${fileName}`, {
responseType: 'blob',
})
.then((res) => res.data)
.catch((err) => Promise.reject(err));
return response;
}

export async function getValidationStudentId(studentId: string) {
const response = await server
.get(`/sign-up/exists/student-id`, {
Expand Down

0 comments on commit 69f4f3b

Please sign in to comment.