File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/services/notifications Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import ProcedureModel from '../../models/Procedure';
1212import CONFIG from '../../config/constants' ;
1313
1414const sendNotifications = ( { tokenObjects, message } ) => {
15+ // Disable Push Notifications
16+ return ;
1517 const androidNotificationTokens = [ ] ;
1618 tokenObjects . forEach ( ( { token, os } ) => {
1719 switch ( os ) {
@@ -107,6 +109,10 @@ const procedureUpdate = async ({ procedureId }) => {
107109export { procedureUpdate , newVote , newPreperation } ;
108110
109111export default async ( { message, user } ) => {
112+ // Disable Push Notifications
113+ return ;
114+ // This function seems to be (partly) a duplicate of the sendNotifications function
115+ // refactor?
110116 let userId ;
111117 if ( _ . isObject ( user ) ) {
112118 userId = user . _id ;
You can’t perform that action at this time.
0 commit comments