Skip to content

Commit b9e92c5

Browse files
committed
fixed lint errors
1 parent 1dbb9c9 commit b9e92c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/services/notifications/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import CONFIG from '../../config/constants';
1414
const sendNotifications = ({ tokenObjects, message }) => {
1515
// Disable Push Notifications
1616
return;
17-
const androidNotificationTokens = [];
17+
/* const androidNotificationTokens = [];
1818
tokenObjects.forEach(({ token, os }) => {
1919
switch (os) {
2020
case 'ios':
@@ -58,7 +58,7 @@ const sendNotifications = ({ tokenObjects, message }) => {
5858
else console.log('gcmProvider', response);
5959
},
6060
);
61-
}
61+
} */
6262
};
6363

6464
const newVote = async ({ procedureId }) => {
@@ -113,7 +113,7 @@ export default async ({ message, user }) => {
113113
return;
114114
// This function seems to be (partly) a duplicate of the sendNotifications function
115115
// refactor?
116-
let userId;
116+
/* let userId;
117117
if (_.isObject(user)) {
118118
userId = user._id;
119119
}
@@ -164,5 +164,5 @@ export default async ({ message, user }) => {
164164
},
165165
);
166166
}
167-
}
167+
} */
168168
};

0 commit comments

Comments
 (0)