File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/services/notifications Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import CONFIG from '../../config/constants';
14
14
const sendNotifications = ( { tokenObjects, message } ) => {
15
15
// Disable Push Notifications
16
16
return ;
17
- const androidNotificationTokens = [ ] ;
17
+ /* const androidNotificationTokens = [];
18
18
tokenObjects.forEach(({ token, os }) => {
19
19
switch (os) {
20
20
case 'ios':
@@ -58,7 +58,7 @@ const sendNotifications = ({ tokenObjects, message }) => {
58
58
else console.log('gcmProvider', response);
59
59
},
60
60
);
61
- }
61
+ } */
62
62
} ;
63
63
64
64
const newVote = async ( { procedureId } ) => {
@@ -113,7 +113,7 @@ export default async ({ message, user }) => {
113
113
return ;
114
114
// This function seems to be (partly) a duplicate of the sendNotifications function
115
115
// refactor?
116
- let userId ;
116
+ /* let userId;
117
117
if (_.isObject(user)) {
118
118
userId = user._id;
119
119
}
@@ -164,5 +164,5 @@ export default async ({ message, user }) => {
164
164
},
165
165
);
166
166
}
167
- }
167
+ } */
168
168
} ;
You can’t perform that action at this time.
0 commit comments