mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-25 14:30:24 +01:00
updated the verification api preview example
This commit is contained in:
1 parent
f49e90bd0b
commit
47bb0bc2d8
34 files changed
+123
-98
No files matched your search
@@ -49,6 +49,9 @@
|
||||
...
|
||||
|
||||
await pb.collection('${collection?.name}').confirmVerification('TOKEN');
|
||||
|
||||
// optionally refresh the previous authStore state with the latest record changes
|
||||
await pb.collection('${collection?.name}').authRefresh();
|
||||
`}
|
||||
dart={`
|
||||
import 'package:pocketbase/pocketbase.dart';
|
||||
@@ -58,6 +61,9 @@
|
||||
...
|
||||
|
||||
await pb.collection('${collection?.name}').confirmVerification('TOKEN');
|
||||
|
||||
// optionally refresh the previous authStore state with the latest record changes
|
||||
await pb.collection('${collection?.name}').authRefresh();
|
||||
`}
|
||||
/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user