Skip to content

Commit fa513bf

Browse files
committed
Update blockUserSchema in validate.schema.ts
1 parent a68b0b3 commit fa513bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/validate/validate.schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ export const blockUserSchema: JSONSchema7 = {
546546
number: { type: 'string' },
547547
status: { type: 'string', enum: ['block', 'unblock'] },
548548
},
549-
required: ['number', 'block'],
550-
...isNotEmpty('number', 'block'),
549+
required: ['number', 'status'],
550+
...isNotEmpty('number', 'status'),
551551
};
552552

553553
export const archiveChatSchema: JSONSchema7 = {

0 commit comments

Comments
 (0)