Updated all dependencies. Updated MindGeek to Aylo.
This commit is contained in:
@@ -19,7 +19,7 @@ async function addAlert(alert, sessionUser) {
|
||||
throw new HttpError('Match must define a property and an expression', 400);
|
||||
}
|
||||
|
||||
const [alertId] = await knex('alerts')
|
||||
const [{ id: alertId }] = await knex('alerts')
|
||||
.insert({
|
||||
user_id: sessionUser.id,
|
||||
notify: alert.notify,
|
||||
|
||||
Reference in New Issue
Block a user