Skip to content

Commit

Permalink
hotfix: 내 학습로그 페이지에서 학습로그 삭제 시 인자를 객체 형태로 수정 (#734)
Browse files Browse the repository at this point in the history
Co-authored-by: devhyun637 <[email protected]>
  • Loading branch information
gracefulBrown and devhyun637 authored Mar 7, 2022
1 parent 125a4bd commit 77ea5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/ProfilePageStudylogs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const ProfilePageStudylogs = () => {

if (!window.confirm(CONFIRM_MESSAGE.DELETE_STUDYLOG)) return;

await deletePost(id, accessToken);
await deletePost({ id, accessToken });

if (postError) {
alert(ALERT_MESSAGE.FAIL_TO_DELETE_STUDYLOG);
Expand Down

0 comments on commit 77ea5ec

Please sign in to comment.