- Updated example in readme

Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
This commit is contained in:
Hans Kokx
2024-10-11 14:16:51 +02:00
parent 23e2bcb4b7
commit 2c4ca4e78e
2 changed files with 7 additions and 4 deletions
+4
View File
@@ -1,3 +1,7 @@
## 1.1.1+2
- Updated example in README
## 1.1.1+1 ## 1.1.1+1
- Updated example in README - Updated example in README
+3 -4
View File
@@ -358,10 +358,9 @@ Once your interface has been created and registered, you can use it to perform a
```dart ```dart
// Register an account // Register an account
final nextStep = await Arcane.auth.signup( final nextStep = await Arcane.auth.register<Credentials>(
email: "user@example.com", input: ("email": "user@example.com", "password": "password123"),
password: "password123", );
);
// Confirm a newly registered account // Confirm a newly registered account
final accountConfirmed = await Arcane.auth.confirmSignup( final accountConfirmed = await Arcane.auth.confirmSignup(