Skip to content

Commit

Permalink
[feat/#28] 스냅샷 저장 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lkhoony committed Aug 25, 2024
1 parent 454fe5f commit 805fea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface createSnapshotRes {

export const createSnapshot = async (snapshot: snapshot): Promise<createSnapshotRes> => {
try {
const res = await axiosInstance.post(`/pose-layouts`, { snapshot })
const res = await axiosInstance.post(`/pose-layouts`, { points : snapshot.points })
const { id } = res.data.data

return { id }
Expand Down

0 comments on commit 805fea3

Please sign in to comment.