Skip to content

Commit

Permalink
[FIX] Importer fails when file includes user without an email. (#26836)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lehnen-rc authored Sep 13, 2022
1 parent f7438d3 commit ddd52cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rest-typings/src/v1/import/StartImportParamsPOST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const StartImportParamsPostSchema = {
properties: {
user_id: { type: 'string' }, // eslint-disable-line
username: { type: 'string' },
email: { type: 'string' },
email: { type: 'string', nullable: true },
is_deleted: { type: 'boolean' }, // eslint-disable-line
is_bot: { type: 'boolean' }, // eslint-disable-line
do_import: { type: 'boolean' }, // eslint-disable-line
is_email_taken: { type: 'boolean' }, // eslint-disable-line
},
required: ['user_id', 'username', 'email', 'is_deleted', 'is_bot', 'do_import', 'is_email_taken'],
required: ['user_id', 'username', 'is_deleted', 'is_bot', 'do_import', 'is_email_taken'],
},
},
channels: {
Expand Down

0 comments on commit ddd52cb

Please sign in to comment.