Skip to content

Commit 7bda0c3

Browse files
committed
fix: variable name change for clarity
1 parent a286dbf commit 7bda0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/auth/amplify_auth_cognito_dart/lib/src/auth_plugin_impl.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,10 +1005,10 @@ class AmplifyAuthCognitoDart extends AuthPluginInterface
10051005
throw const DeviceNotTrackedException();
10061006
}
10071007

1008-
late GetDeviceResponse resp;
1008+
late GetDeviceResponse response;
10091009

10101010
try {
1011-
resp = await _cognitoIdp
1011+
response = await _cognitoIdp
10121012
.getDevice(
10131013
cognito.GetDeviceRequest(
10141014
deviceKey: deviceKey,
@@ -1020,7 +1020,7 @@ class AmplifyAuthCognitoDart extends AuthPluginInterface
10201020
throw AuthException.fromException(error);
10211021
}
10221022

1023-
final device = resp.device;
1023+
final device = response.device;
10241024
final attributes =
10251025
device.deviceAttributes ?? const <cognito.AttributeType>[];
10261026

0 commit comments

Comments
 (0)