From 820b0b35df6f2ab811bb93ef01649547da577582 Mon Sep 17 00:00:00 2001 From: Lejuez Aude Date: Wed, 21 May 2025 11:11:58 +0200 Subject: [PATCH] fix: incorrect example of otherwise in group --- content/docs/types/object.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/types/object.md b/content/docs/types/object.md index 4b43382..f12c022 100644 --- a/content/docs/types/object.md +++ b/content/docs/types/object.md @@ -219,7 +219,7 @@ vine.group([ }) ]) // highlight-start -.otherwise((field) => { +.otherwise((_, field) => { field.report( 'You must provide username or email to login', 'email_or_username',