Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 43fbe9c

Browse files
committed
fixed associatedCanDos hook
1 parent f98c356 commit 43fbe9c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

server/services/contributions/hooks/get-associated-can-dos.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ module.exports = function (options = {}) { // eslint-disable-line no-unused-vars
4545
}
4646
return resolve(hook);
4747
})
48-
.catch(err => {
49-
// eslint-disable-next-line
50-
console.log(err);
48+
.catch(() => {
5149
hook.app.error('issue while fetching associated candos');
5250
return resolve(hook);
5351
});

0 commit comments

Comments
 (0)