Skip to content

Commit ab827e3

Browse files
flovilmartdrew-gross
authored andcommitted
Forces delete resolution (#1595)
1 parent d49d539 commit ab827e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Controllers/HooksController.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ export class HooksController {
5959
}
6060

6161
_removeHooks(query) {
62-
return this.database.destroy(DefaultHooksCollectionName, query);
62+
return this.database.destroy(DefaultHooksCollectionName, query).then(() => {
63+
return Promise.resolve({});
64+
});
6365
}
6466

6567
saveHook(hook) {

0 commit comments

Comments
 (0)