fix linting for server (except for length of apidoc)

This commit is contained in:
Matteo Pagliazzi
2019-10-10 20:11:50 +02:00
parent bcf7bcf03c
commit 8bae0223bb
84 changed files with 913 additions and 469 deletions

View File

@@ -36,7 +36,7 @@ function sendNotification (user, details = {}) {
payload.identifier = details.identifier;
_.each(pushDevices, pushDevice => {
switch (pushDevice.type) {
switch (pushDevice.type) { // eslint-disable-line default-case
case 'android':
// Required for fcm to be received in background
payload.title = details.title;
@@ -82,5 +82,5 @@ function sendNotification (user, details = {}) {
}
export {
sendNotification,
sendNotification, // eslint-disable-line import/prefer-default-export
};