Skip to content

Commit dee5efc

Browse files
committed
fix: 게임 게시 토스트 이슈 변경
1 parent 70730c6 commit dee5efc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/(actions)/builder/choice/choice.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ export const publishGameCall = async (gameId: number) => {
1414
`${process.env.NEXT_PUBLIC_BACKEND_API}${publish.path(gameId)}`,
1515
{ method: publish.METADATA.method }
1616
);
17+
return {
18+
success: true,
19+
message: "게임 게시에 성공했습니다.",
20+
};
1721
} catch (error) {
1822
console.error(error);
1923
return {

0 commit comments

Comments
 (0)