Commit Graph

10 Commits

Author SHA1 Message Date
8175d73df1 refactor: ♻️emoves Env parameter
Removes the `Env` parameter from several functions to simplify their signatures and rely on the global `env` for configuration.

This change reduces the number of arguments passed around, making the code cleaner and easier to maintain.
2025-08-10 19:22:14 -04:00
2dcf8630ab fix: improve error logging
Cloudflare doesn't log causes, only the messages so splitting the logs in to 2
2024-10-27 08:49:31 -04:00
44d579ee6d refactor: create function to read admin SDK JSON 2024-10-05 11:21:20 -04:00
15c75eea5b refactor: move fcm to gcloud folder 2024-10-05 10:57:18 -04:00
c1bf12de4f feat: associate device id with username when logging in 2024-09-21 13:18:16 -04:00
acdfc7eda4 docs: add error status codes for /token 2024-06-16 08:48:20 -04:00
3b1fe66261 refactor: created custom error for a token already exists 2024-06-16 08:47:07 -04:00
f9d7a6bbd2 feat: allow associating an existing device ID and token with a username 2024-06-16 08:24:28 -04:00
5d528fba52 feat: reject token if it's not valid 2024-06-15 18:56:28 -04:00
231ed4bde4 feat: create route to store FCM token 2024-06-14 18:14:10 -04:00