Skip to content

Commit 045b5b7

Browse files
committed
fix: changed docs wording
1 parent 4bdc90a commit 045b5b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/amplify_core/doc/lib/auth.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ Future<void> fetchCurrentUserDevice() async {
489489
final device = await Amplify.Auth.fetchCurrentDevice();
490490
safePrint('Device: $device');
491491
} on AuthException catch (e) {
492-
safePrint('Get current device failed with error: $e');
492+
safePrint('Fetch current device failed with error: $e');
493493
}
494494
}
495495
// #enddocregion fetch-current-device

packages/amplify_core/lib/src/category/amplify_auth_category.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ class AuthCategory extends AmplifyCategory<AuthPluginInterface> {
13761376
/// final device = await Amplify.Auth.fetchCurrentDevice();
13771377
/// safePrint('Device: $device');
13781378
/// } on AuthException catch (e) {
1379-
/// safePrint('Get current device failed with error: $e');
1379+
/// safePrint('Fetch current device failed with error: $e');
13801380
/// }
13811381
/// }
13821382
/// ```

0 commit comments

Comments
 (0)