Fix users tests

This commit is contained in:
Johannes Zellner
2019-01-19 14:25:59 +01:00
parent e8674487f2
commit 4c4f3d04e9
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ function add(notification, callback) {
assert.strictEqual(typeof notification, 'object');
assert.strictEqual(typeof callback, 'function');
const query = 'INSERT INTO notifications (userId, eventId, title, message, action) VALUES (?, ?, ?, ?)';
const query = 'INSERT INTO notifications (userId, eventId, title, message, action) VALUES (?, ?, ?, ?, ?)';
const args = [ notification.userId, notification.eventId, notification.title, notification.message, notification.action ];
database.query(query, args, function (error, result) {