Skip to content

Commit eef172f

Browse files
committed
remove profile pic stuff
1 parent 3eba625 commit eef172f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/frontendmu-nuxt/auth-utils/useAuth.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ export default function useAuth(client: DirectusClient<any> & AuthenticationClie
128128
console.log('trying to set cookie to ', response.data)
129129
await getCurrentUser()
130130
setAuth(true)
131-
if (!rawUser.value?.profile_picture) {
132-
const picture = await cloudFunctionUpdateProfilePicture(rawUser.value?.id || '')
133-
console.log(picture)
134-
}
131+
// if (!rawUser.value?.profile_picture) {
132+
// const picture = await cloudFunctionUpdateProfilePicture(rawUser.value?.id || '')
133+
// console.log(picture)
134+
// }
135135

136136
return response.data
137137
}

0 commit comments

Comments
 (0)