Repository navigation
Com 4328 - #2912
Merged
Merged
Com 4328#2912
Conversation
manonpalin
reviewed
Nov 17, 2026
| await Promise.all(notifications); | ||
| for (let i = 0; i < messages.length; i += EXPO_BATCH_SIZE) { | ||
| try { | ||
| await this.sendNotificationToAPI(messages.slice(i, i + EXPO_BATCH_SIZE)); |
Collaborator
There was a problem hiding this comment.
Pourquoi ne plus utiliser sendNotificationToUser ?
Collaborator
Author
There was a problem hiding this comment.
parce que sendNotificationToUser n'envoie qu'une notif là où sendNotificationToAPI accepte un tableau et permet d'envoyer plusieurs notifs groupé, c'est le fait d'envoyer les notifs une par une à chaque apprenant qui retournait une 429
manonpalin
reviewed
Nov 18, 2026
| ) | ||
| .populate({ path: 'subProgram', select: 'archivedAt' }) | ||
| .lean(); | ||
| if (course.subProgram.archivedAt) return; |
Collaborator
There was a problem hiding this comment.
C'est pas mieux de ne pas permettre l'ajout d'une regle d'acces si le sous-programme associé a la formation est archivé ?
Et d'ailleurs c'est peut etre pas a faire la mais rien ne dit qu'une formation eLearning est archivée ? Est-ce qu'il faudrait pas le preciser si le sous-programme associé l'est ?
ulysseferreira
force-pushed
the
COM-4328
branch
from
November 18, 2026 13:31
b1024c1 to
e4a0a1a
Compare
ulysseferreira
force-pushed
the
COM-4328
branch
from
November 18, 2026 13:35
e4a0a1a to
2ea569e
Compare
ulysseferreira
force-pushed
the
COM-4328
branch
from
November 18, 2026 14:09
2ea569e to
137dbfb
Compare
manonpalin
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TESTS 💻
POINTS D'ATTENTION POUR CETTE PR⚠️
FONCTIONNALITÉS APPS MOBILES 📱
Si tu as lu cette description, pense à réagir avec un 👁️