Skip to content

Commit

Permalink
fix: registering company account issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlLiu2023 committed Aug 15, 2023
1 parent 208227e commit 00b6e35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/storefront/src/shared/service/b2b/graphql/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ const createCompanyUser = (data: any) => `mutation{
? `extraFields: ${convertArrayToGraphql(data.extraFields)}`
: ''
}
fileList: ${convertArrayToGraphql(data.fileList)}
${
data?.fileList
? `extraFields: ${convertArrayToGraphql(data.fileList)}`
: ''
}
channelId: ${data.channelId || 1}
${
data?.addressExtraFields
Expand Down

0 comments on commit 00b6e35

Please sign in to comment.