Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
[C-801] Fix oauth nodes (#3807)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson authored Jul 27, 2023
1 parent c3765c7 commit 039c951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/pages/oauth-login-page/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ export const formOAuthResponse = async ({
const storageNode = storageNodeSelector.getNodes(
account.profile_picture_sizes
)[0]
const base = `${storageNode}${account.profile_picture_sizes}/`
const base = `${storageNode}/content/${account.profile_picture_sizes}/`
profilePicture = {
'150x150': `${base}150x150.jpg`,
'480x480': `${base}480x480.jpg`,
'1000x1000': `${base}1000x1000.jpg`
}
} else if (account.profile_picture) {
const storageNode = storageNodeSelector.getNodes(account.profile_picture)[0]
const url = `${storageNode}${account.profile_picture}`
const url = `${storageNode}/content/${account.profile_picture}`
profilePicture = {
'150x150': url,
'480x480': url,
Expand Down

0 comments on commit 039c951

Please sign in to comment.