Skip to content

Commit 6bdf31a

Browse files
committed
fix: 타인이 수정하지 않았는데도 타인이 수정했다고 뜨는 문제 수정
1 parent 5e2875b commit 6bdf31a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/common/src/apis/admin_api.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const uploadPublicFile = (client: BackendAPIClient) => (file: File) => {
9595
});
9696
};
9797

98-
const parseVersion = (etag: unknown): string => (typeof etag === "string" ? etag.replaceAll('"', "") : "");
98+
const parseVersion = (etag: unknown): string => (typeof etag === "string" ? etag.replace(/^W\//, "").replaceAll('"', "") : "");
9999
const timetableUrl = (eventId: string) => `v1/admin-api/event/presentation/timetable/${eventId}/`;
100100

101101
export const getTimetable = (client: BackendAPIClient, eventId: string) => async (): Promise<TimetableReadResult> => {

0 commit comments

Comments
 (0)