@runnerpro/backend 1.15.5 → 1.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -270,7 +270,7 @@ const sendMessage = (req, res, { sendNotification, firebaseMessaging, isClient }
|
|
|
270
270
|
firebaseMessaging,
|
|
271
271
|
idCliente,
|
|
272
272
|
title: '💬 Nuevo mensaje de tu entrenador',
|
|
273
|
-
body:
|
|
273
|
+
body: textPreferredLanguage || textSpanish,
|
|
274
274
|
screen: common_1.NOTIFICATION_SCREEN_TYPES.CHAT,
|
|
275
275
|
});
|
|
276
276
|
// Enviar a N8N lo que ha escrito el entrenador
|
|
@@ -396,7 +396,7 @@ const sendFile = (req, res, { sendNotification, firebaseMessaging, isClient, buc
|
|
|
396
396
|
firebaseMessaging,
|
|
397
397
|
idCliente,
|
|
398
398
|
title: (0, index_2.t)('💬 Nuevo mensaje de tu entrenador', cliente.preferredLanguage),
|
|
399
|
-
body:
|
|
399
|
+
body: (0, index_2.t)(textFile, cliente.preferredLanguage),
|
|
400
400
|
screen: common_1.NOTIFICATION_SCREEN_TYPES.CHAT,
|
|
401
401
|
});
|
|
402
402
|
yield updateSenderView({ userid, idCliente, idMessage: idFile });
|