Skip to content

Commit

Permalink
Update blockUserSchema in validate.schema.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nder committed Feb 20, 2024
1 parent a68b0b3 commit fa513bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validate/validate.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ export const blockUserSchema: JSONSchema7 = {
number: { type: 'string' },
status: { type: 'string', enum: ['block', 'unblock'] },
},
required: ['number', 'block'],
...isNotEmpty('number', 'block'),
required: ['number', 'status'],
...isNotEmpty('number', 'status'),
};

export const archiveChatSchema: JSONSchema7 = {
Expand Down

0 comments on commit fa513bf

Please sign in to comment.