Skip to content

Commit

Permalink
FE: [fix] 인증헤더 제외하고 video api 호출 #53
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeona01 committed Dec 8, 2024
1 parent 3a74224 commit cab96d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/eyesee-user/src/apis/video.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { api } from ".";
import { apiWithoutAuth } from ".";

export const videoPost = async (
userId: number,
Expand All @@ -13,6 +13,6 @@ export const videoPost = async (
formData.append("endOffset", new Date(endTime).toISOString());
formData.append("video", video);

const response = await api.post(`/cheatings/video`, formData);
const response = await apiWithoutAuth.post(`/video`, formData);
return response.data;
};

0 comments on commit cab96d0

Please sign in to comment.