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';
1414const 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
6464const 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} ;
You can’t perform that action at this time.
0 commit comments