Skip to content

Commit

Permalink
chore(datastore,authenticator,common): fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tyllark committed Jan 13, 2025
1 parent a413ab2 commit 2e2f191
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:convert';

import 'package:amplify_core/amplify_core.dart';
import 'package:amplify_datastore/src/native_plugin.g.dart';
import 'package:collection/collection.dart';

/// Convert a [NativeGraphQLResponse] to a [GraphQLResponse]
GraphQLRequest<String> nativeRequestToGraphQLRequest(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ class _FormWrapperView extends StatelessAuthenticatorComponent {
form,
],
);
break;
}

return Padding(padding: padding, child: layout);
Expand Down
2 changes: 1 addition & 1 deletion packages/aws_common/lib/src/http/aws_http_client_js.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class AWSHttpClientImpl extends AWSHttpClient {
requestProgressController.close();
},
).takeUntil(cancelTrigger.future);
Object body = Uint8List.fromList(await collectBytes(stream));
final body = Uint8List.fromList(await collectBytes(stream));

if (completer.isCanceled) return;
final resp = await fetch(
Expand Down

0 comments on commit 2e2f191

Please sign in to comment.