clubgamma / club-gamma-backend

This is the official repo for club gamma hacktoberfest backend server.
https://clubgamma.vercel.app
MIT License
0 stars 13 forks source link

Save `githubId` in `name` Field if `name` is Null During User Creation #8

Closed Rutu128 closed 1 week ago

Rutu128 commented 1 week ago

Currently, when creating a user via the /auth/access_token endpoint, if the name field is null, it causes issues during the user creation process. To resolve this, we need to update the logic so that if the name is null, the githubId should be saved in the name field.

Requirements

Acceptance Criteria

Additional Notes