updated the verification api preview example

This commit is contained in:
Gani Georgiev
2023-05-20 23:51:43 +03:00
parent f49e90bd0b
commit 47bb0bc2d8
34 changed files with 123 additions and 98 deletions
@@ -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();
`}
/>