forked from Octasol/octasol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Improve user initialization and update process
- Refactored the initializeUser function in dbUtils.ts to improve the user initialization and update process. - Added a check for existing users before creating a new user. - Updated the logic to handle user creation and update based on the existing user status. - Added logging to Discord for user initialization and update in production environment. - Removed an unused function setHackerrankProfile from dbUtils.ts.
- Loading branch information
Showing
1 changed file
with
75 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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