Skip to content

Commit

Permalink
Remove unnecessary console log and improve error handling in friends …
Browse files Browse the repository at this point in the history
…request handler
  • Loading branch information
tako0614 committed Jun 16, 2024
1 parent a0dfa50 commit 2203dec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/api/v1/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ await subClient.connect()
async function subscribeMessage(channel: string | string[]) {
await subClient.subscribe(channel, async (message) => {
const data = JSON.parse(message)
console.log(data)
switch (data.type) {
case "message":
sendConecctingUserMessage(
Expand Down

0 comments on commit 2203dec

Please sign in to comment.