3 lines
No EOL
172 B
JavaScript
3 lines
No EOL
172 B
JavaScript
module.exports = function(CurrentUser, FriendToAdd) {
|
|
global.DatabaseHelper.query(`INSERT INTO friends (user, friendsWith) VALUES (${CurrentUser.id}, ${FriendToAdd});`);
|
|
} |