Skip to content

Commit

Permalink
Fcm refactor (#451)
Browse files Browse the repository at this point in the history
* Clean up our FCM registration file, get it ready to support both Android and IOS

Signed-off-by: Dan Cunningham <[email protected]>

* Small logic change

Signed-off-by: Dan Cunningham <[email protected]>

---------

Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan authored May 24, 2024
1 parent 83b5685 commit 05353eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/fcmRegistrationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ function register(req, res, deviceType) {
if (error) {
logger.error('Error saving user device: ' + error);
res.send(500, 'Error Saving Registration');
} else {
res.send(200, 'Updated');
}
res.send(200, 'Updated');
});
});
}

0 comments on commit 05353eb

Please sign in to comment.