Skip to content

Commit

Permalink
docs: change naming for api example
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnandrew committed Aug 7, 2024
1 parent 9fce922 commit 7961885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amplify_core/doc/lib/auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ Future<void> forgetSpecificDevice(AuthDevice myDevice) async {
// #enddocregion forget-specific-device

// #docregion fetch-current-device
Future<void> fetchCurrentUserDevice() async {
Future<void> fetchCurrentDevice() async {
try {
final device = await Amplify.Auth.fetchCurrentDevice();
safePrint('Device: $device');
Expand Down

0 comments on commit 7961885

Please sign in to comment.