Skip to content

Commit

Permalink
chore(api): manual fix of errors reported by yarn lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Feb 12, 2024
1 parent b5842c6 commit be19c09
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/api/src/internals/InternalAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
OperationTypeNode,
} from '@aws-amplify/api-graphql';
import { InternalGraphQLAPIClass } from '@aws-amplify/api-graphql/internals';
import { Amplify, Cache, ConsoleLogger } from '@aws-amplify/core';
import { Amplify, Cache } from '@aws-amplify/core';
import {
ApiAction,
Category,
Expand All @@ -28,7 +28,6 @@ import { CustomHeaders } from '@aws-amplify/data-schema-types';
* state as possible for V6 to reduce number of potentially impactful changes to DataStore.
*/

const logger = new ConsoleLogger('API');
/**
* @deprecated
* Use RestApi or GraphQLAPI to reduce your application bundle size
Expand Down Expand Up @@ -78,7 +77,7 @@ export class InternalAPIClass {
}>
: Promise<GraphQLResult<any>> | Observable<object>;

graphql<T = any>(
graphql<_ = any>(
options: GraphQLOptions,
additionalHeaders?: CustomHeaders,
customUserAgentDetails?: CustomUserAgentDetails,
Expand Down

0 comments on commit be19c09

Please sign in to comment.