2020-09-02 12:19:19 +01:00
|
|
|
module.exports = function(CurrentUser, FriendToAdd) {
|
2022-01-04 03:39:53 +00:00
|
|
|
global.DatabaseHelper.query(`INSERT INTO friends (user, friendsWith) VALUES (${CurrentUser.id}, ${FriendToAdd});`);
|
2020-09-02 12:19:19 +01:00
|
|
|
}
|