From 52220e434d4de47a6554fb7d9b57c373b15b6da9 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Fri, 22 Apr 2016 11:30:55 -0400 Subject: [PATCH] Forces delete resolution --- src/Controllers/HooksController.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Controllers/HooksController.js b/src/Controllers/HooksController.js index 7e97fd5406..0c4ae4f794 100644 --- a/src/Controllers/HooksController.js +++ b/src/Controllers/HooksController.js @@ -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) {