- 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
- Updated example in README
+2 -3
View File
@@ -358,9 +358,8 @@ Once your interface has been created and registered, you can use it to perform a
```dart
// Register an account
final nextStep = await Arcane.auth.signup(
email: "user@example.com",
password: "password123",
final nextStep = await Arcane.auth.register<Credentials>(
input: ("email": "user@example.com", "password": "password123"),
);
// Confirm a newly registered account