Skip to content

Commit

Permalink
fix: remove an unecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
enzomerca committed Sep 5, 2024
1 parent 9b104c1 commit 7dbb020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/resolvers/Routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const Routes = {
response['storefront-permissions'].organization.value = user.orgId

const getOrganization = async (orgId: any): Promise<any> => {
return await organizations.getOrganizationById(orgId).catch((error) => {
return organizations.getOrganizationById(orgId).catch((error) => {
logger.error({
error,
message: 'setProfile.graphqlGetOrganizationById',
Expand Down

0 comments on commit 7dbb020

Please sign in to comment.