Binato/server/Packets/RemoveFriend.js
2021-02-13 02:42:59 +00:00

3 lines
No EOL
190 B
JavaScript

module.exports = function(CurrentUser, FriendToRemove) {
global.DatabaseHelper.query(`DELETE FROM friends WHERE user = ${CurrentUser.id} AND friendsWith = ${FriendToRemove} LIMIT 1`);
}