Quitar routa de registro push para versiones antiguas de la app.

This commit is contained in:
David Arranz 2022-03-08 16:15:31 +01:00
parent f2f78df93f
commit 8f3ce95914

View File

@ -49,11 +49,11 @@ routes.post('/admin/notifications',
);*/ );*/
/* Borrar cuando ya no aparezca la versión 1.0.10 */ /* Borrar cuando ya no aparezca la versión 1.0.10 */
routes.post('/notifications/register', /*routes.post('/notifications/register',
isLoggedUser, isLoggedUser,
SchemaValidator(deviceTokenInputType, true), SchemaValidator(deviceTokenInputType, true),
notificationController.registerDevice() notificationController.registerDevice()
); );*/
routes.post('/notifications/devices', routes.post('/notifications/devices',
isLoggedUser, isLoggedUser,