Skip to content

Commit

Permalink
Fix conditional check in friends request handler
Browse files Browse the repository at this point in the history
  • Loading branch information
tako0614 committed Jun 16, 2024
1 parent a421e24 commit 697f1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api/v1/server/friends/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const handler = {
user: requesterUserUUID,
"friends.userid": recipientUserName,
})
if (!existingFriend) {
if (existingFriend) {
console.log("existingFriend")
return new Response(
JSON.stringify({
Expand Down

0 comments on commit 697f1ed

Please sign in to comment.