From bf4f8bfc533a2cb319ce2551cc835acdfcc89afe Mon Sep 17 00:00:00 2001 From: Jonathan Barrow Date: Sat, 25 Feb 2023 23:24:15 -0500 Subject: [PATCH] Updated SQL query in accept_friendship_and_return_friend_info.go --- database/wiiu/accept_friendship_and_return_friend_info.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/wiiu/accept_friendship_and_return_friend_info.go b/database/wiiu/accept_friendship_and_return_friend_info.go index 9d31385..68e3c82 100644 --- a/database/wiiu/accept_friendship_and_return_friend_info.go +++ b/database/wiiu/accept_friendship_and_return_friend_info.go @@ -35,7 +35,7 @@ func AcceptFriendshipAndReturnFriendInfo(friendRequestID uint64) *nexproto.Frien VALUES ($1, $2, $3, true) ON CONFLICT (user1_pid, user2_pid) DO UPDATE SET - date = $3 + date = $3, active = true`, senderPID, recipientPID, acceptedTime.Value()) if err != nil { globals.Logger.Critical(err.Error()) @@ -47,7 +47,7 @@ func AcceptFriendshipAndReturnFriendInfo(friendRequestID uint64) *nexproto.Frien VALUES ($1, $2, $3, true) ON CONFLICT (user1_pid, user2_pid) DO UPDATE SET - date = $3 + date = $3, active = true`, recipientPID, senderPID, acceptedTime.Value()) if err != nil { globals.Logger.Critical(err.Error())