Skip to content

Commit

Permalink
0.0.6 [WIP] some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LReg committed Oct 14, 2024
1 parent d786424 commit c8af798
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/express/src/middleware/Authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ const fetchUserInfo = async (userinfoEndpoint: string, token: string): Promise<U
return null;
}

response.data.prefferedUsername = response.data.preferred_username;
return response.data as User;
};

0 comments on commit c8af798

Please sign in to comment.