Skip to content

Commit

Permalink
Merge pull request #1071 from woowacourse-teams/FE/dev
Browse files Browse the repository at this point in the history
🚀 투두 생성 URL 변경
  • Loading branch information
anttiey authored Feb 4, 2025
2 parents 018dfe1 + 6aa9d40 commit 42865e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/apis/websocket/todo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { publishMessage } from '@/apis/websocket/websocket';

export const publishTodoMessage = {
add: (client: Client | null, accessCode: string, contents: string) => {
publishMessage(client, `/send/${accessCode}/todo/add`, { contents });
publishMessage(client, `/send/${accessCode}/todo/post`, { contents });
},
updateContents: (client: Client | null, accessCode: string, todoId: number, contents: string) => {
publishMessage(client, `/send/${accessCode}/todo/update/${todoId}/contents`, { contents });
Expand Down

0 comments on commit 42865e9

Please sign in to comment.