Skip to content

Commit

Permalink
fix: trainings message for push
Browse files Browse the repository at this point in the history
  • Loading branch information
sansan88 committed Jan 3, 2025
1 parent 44be68d commit 46b0835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/firestore/training/createTeamTraining.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export async function createNotificationTeamTraining(snapshot: QueryDocumentSnap
const userProfileRef = await db.collection("userProfile").doc(teamMember.id).get();
if (userProfileRef.exists && userProfileRef.data().settingsPush && userProfileRef.data().settingsPushTraining) {
await sendPushNotificationByUserProfileId(teamMember.id, "Neues Training verfügbar: ", trainingData.name + " - " + trainingData.description, {
"type": "trainings",
"type": "training",
"teamId": teamRef.id,
"id": trainingData.id,
});
Expand Down

0 comments on commit 46b0835

Please sign in to comment.