feat(oauth2/db): reworked oauth2 database footprint
- Removed `auth` table and merged its information inside the `user` table - Changed around some field names in the database - Changed Create*User functions to not be using overload but different functions
This commit is contained in:
parent
34249bf68d
commit
5a905a1239
10 changed files with 90 additions and 142 deletions
|
|
@ -46,7 +46,7 @@ const route: FastifyPluginAsync = async (fastify, _opts): Promise<void> => {
|
|||
|
||||
|
||||
const payload = {
|
||||
name: user.display_name,
|
||||
name: user.name,
|
||||
id: user.id,
|
||||
// the !! converts a value from <something> to either `true` or `false`
|
||||
// it uses the same convention from using <something> in a if, meaning that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue