5 lines
No EOL
244 B
JavaScript
5 lines
No EOL
244 B
JavaScript
const DatabaseHelper = require("../DatabaseHelper.js");
|
|
|
|
module.exports = function(CurrentUser, FriendToRemove) {
|
|
DatabaseHelper.getFromDB(`DELETE FROM friends WHERE user = ${CurrentUser.id} AND friendsWith = ${FriendToRemove} LIMIT 1`);
|
|
}
|