Skip to content

Commit

Permalink
Update database_provider.ts (#1002)
Browse files Browse the repository at this point in the history
fix comment on exists method
  • Loading branch information
amir-mohammad-HP committed Feb 14, 2024
1 parent e038c67 commit 5ec314b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/database_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ declare module '@vinejs/vine' {
* Ensure the value is exists inside the database by self
* executing a query.
*
* - The callback must return "true", if the value exists.
* - The callback must return "false", if the value does not exist.
* - The callback must return "false", if the value exists.
* - The callback must return "true", if the value does not exist.
*/
exists(callback: (db: Database, value: string, field: FieldContext) => Promise<boolean>): this
}
Expand Down

0 comments on commit 5ec314b

Please sign in to comment.