We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 125a4bd commit 77ea5ecCopy full SHA for 77ea5ec
frontend/src/pages/ProfilePageStudylogs/index.js
@@ -89,7 +89,7 @@ const ProfilePageStudylogs = () => {
89
90
if (!window.confirm(CONFIRM_MESSAGE.DELETE_STUDYLOG)) return;
91
92
- await deletePost(id, accessToken);
+ await deletePost({ id, accessToken });
93
94
if (postError) {
95
alert(ALERT_MESSAGE.FAIL_TO_DELETE_STUDYLOG);
0 commit comments