Skip to content

Commit

Permalink
fix: update profile info request (#2286)
Browse files Browse the repository at this point in the history
  • Loading branch information
valerydluski authored Sep 7, 2023
1 parent bf3d231 commit 31b0312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/pages/profile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ export class ProfilePage extends React.Component<Props, State> {
try {
const githubId = router.query ? (router.query.githubId as string) : undefined;
const [profile, connections, { data }] = await Promise.all([
this.userService.getProfileInfo(githubId),
this.userService.getProfileInfo(githubId?.toLowerCase()),
this.notificationsService.getUserConnections().catch(() => []),
profileApi.getProfile(githubId ?? session.githubId),
profileApi.getProfile(githubId?.toLowerCase() ?? session.githubId),
]);

const updateProfile = {
Expand Down

0 comments on commit 31b0312

Please sign in to comment.