Skip to content

Commit

Permalink
chore: fixed some formatting and removed todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
khatruong2009 committed Sep 19, 2023
1 parent b77c8ae commit da94fe3
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import 'dart:async';
import 'dart:convert';

import 'package:amplify_core/amplify_core.dart';
// TODO(nikahsn): remove after implementing the get loggingConstraint.
// ignore_for_file: unused_field

import 'package:aws_common/aws_common.dart';
import 'package:aws_logging_cloudwatch/aws_logging_cloudwatch.dart';
import 'package:aws_logging_cloudwatch/src/file_storage/file_storage.dart';
Expand Down Expand Up @@ -107,7 +104,8 @@ base class BaseRemoteLoggingConstraintProvider
final response = await operation.response;
final body = await response.decodeBody();
if (response.statusCode != 200) {
logger.error('Failed to fetch constraints', (response.statusCode, body));
logger
.error('Failed to fetch constraints', (response.statusCode, body));
return;
}
final fetchedConstraint = LoggingConstraint.fromJson(
Expand Down

0 comments on commit da94fe3

Please sign in to comment.