Merge branch 'main' into feat/add-docs-workspace

This commit is contained in:
Amruth Pillai
2022-03-11 19:48:35 +01:00
132 changed files with 4243 additions and 308 deletions

View File

@ -126,7 +126,7 @@ export class AuthService {
const UserInfoClient = google.oauth2('v2').userinfo;
const { data } = await UserInfoClient.get({ auth: OAuthClient });
const username = data.email.split('@').at(0);
const username = data.email.split('@')[0];
const createUserDto: CreateGoogleUserDto = {
name: `${data.given_name} ${data.family_name}`,