Skip to content

Commit

Permalink
fix : reason 누락 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
sunrabbit123 committed Sep 24, 2021
1 parent b16136c commit 7367127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const algorithemStatusManage: Function = async ({
const beforeStatus = algorithem.status;

// change algorithem status
const result = await algorithem.setStatus({ status: status });
const result = await algorithem.setStatus({ status, reason });
const { title, content, tag } = result;
const messageBody = { title, content, tag };
// send message for discord log
Expand Down

0 comments on commit 7367127

Please sign in to comment.