mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-04-24 14:56:52 -05:00
12 lines
299 B
Go
12 lines
299 B
Go
package database
|
|
|
|
import "github.com/PretendoNetwork/friends-secure/globals"
|
|
|
|
func SetFriendRequestReceived(friendRequestID uint64) {
|
|
_, err := postgres.Exec(`UPDATE wiiu.friend_requests SET received=true WHERE id=$1`, friendRequestID)
|
|
|
|
if err != nil {
|
|
globals.Logger.Critical(err.Error())
|
|
}
|
|
}
|