mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
* Adding new method to user schema that pushes a new notification to the database with an update operation instead of a save. fixes #8264 * fixing test text * changing the addUserNotificationUpdate method to a static method as requested. * Renaming to push notification * fixing comment documentation based on pr comments. * Changed the update statement to do a multi update and added a validation step. Added tests for both these cases. * Updating pushNotification method to allow a query to be passed instead of an array of userIds to make it more flexible. * Removing createdAt field from tests as it's no longer used. * Removing only from test suite |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| client-old | ||
| common | ||
| content | ||
| helpers | ||
| migrations | ||
| sanity | ||
| .eslintrc | ||
| mocha.opts | ||