Skip to content

Commit

Permalink
Added absolute url for checkAuth query
Browse files Browse the repository at this point in the history
  • Loading branch information
rishav-jha-mech committed Aug 11, 2023
1 parent e52a13e commit f3d84eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/resolvers/Query/checkAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export const checkAuth: QueryResolvers["checkAuth"] = async (

return {
...currentUser,
image: currentUser.image
? `${context.apiRootUrl}${currentUser.image}`
: null,
organizationsBlockedBy: [],
};
};

0 comments on commit f3d84eb

Please sign in to comment.