zhl 26a27a837c refactor: Refactor role authorization to use constant in controllers
- Add `ROLE_ANON` constant for authorization to be used in multiple controllers
- Replace string constants with `process.env` variables for easier configuration
- Use `insertOrUpdate` method from `Account` module for user account creation and updates
- Remove unnecessary semicolons for improved code readability
- Add error handling to `checkFacebookJwt` function for missing or invalid data from Facebook API
2023-03-24 16:02:13 +08:00
..
2022-10-18 15:00:38 +08:00
2022-10-18 15:00:38 +08:00
2022-10-18 15:00:38 +08:00
2022-10-18 15:00:38 +08:00