Skip to content

Commit

Permalink
- Dart format commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvesh-dalvi-1 committed Dec 11, 2024
1 parent 9dd3e22 commit a0f231e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/gotrue/lib/src/gotrue_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,10 @@ class GoTrueClient {
String? captchaToken,
String? tokenHash,
}) async {
assert(((email != null && phone == null) || (email == null && phone != null)) || (tokenHash != null),
assert(
((email != null && phone == null) ||
(email == null && phone != null)) ||
(tokenHash != null),
'`email` or `phone` needs to be specified.');
assert(token != null || tokenHash != null,
'`token` or `tokenHash` needs to be specified.');
Expand Down

0 comments on commit a0f231e

Please sign in to comment.