Forces delete resolution (#1595)

This commit is contained in:
Florent Vilmart
2016-04-22 11:46:27 -04:00
committed by Drew
parent d49d539a81
commit ab827e3c2f

View File

@@ -59,7 +59,9 @@ export class HooksController {
}
_removeHooks(query) {
return this.database.destroy(DefaultHooksCollectionName, query);
return this.database.destroy(DefaultHooksCollectionName, query).then(() => {
return Promise.resolve({});
});
}
saveHook(hook) {