Skip to content

Commit

Permalink
fix integration test unique validator (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yedidyar authored Mar 18, 2024
1 parent 3467665 commit e408ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class Bookstore_Customer {
@Fields.string()
last_name!: string
@Fields.string({ validate: [Validators.uniqueOnBackend], inputType: 'email' })
@Fields.string({ validate: [Validators.unique], inputType: 'email' })
email!: string
@Fields.string({ allowNull: true })
Expand Down

0 comments on commit e408ebd

Please sign in to comment.