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 1ffd702 commit 93b3349
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 @@ -521,6 +521,7 @@ async function readMessage(messageids: [string], sender: string) {
sessions.delete(key)
}
})
console.log(messageids, sender)
//sessionの要素のuuidがsenderと一致するものを探す
const session = Array.from(sessions.values()).find(
(session) => session.uuid === sender,
Expand Down

0 comments on commit 93b3349

Please sign in to comment.