Skip to content

Commit b74783e

Browse files
committed
Removed unused imports and unnecessary assignments
1 parent 558caf5 commit b74783e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

packages/event-handler/src/rest/converters.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export const webResponseToProxyResult = async (
111111
} else {
112112
// For text content, use text()
113113
body = await response.text();
114-
isBase64Encoded = false;
115114
}
116115

117116
const result: APIGatewayProxyResult = {

packages/event-handler/src/types/rest.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ import type {
33
JSONObject,
44
} from '@aws-lambda-powertools/commons/types';
55
import type { APIGatewayProxyEvent, Context } from 'aws-lambda';
6-
import type {
7-
COMPRESSION_ENCODING_TYPES,
8-
HttpErrorCodes,
9-
HttpVerbs,
10-
} from '../rest/constants.js';
6+
import type { HttpErrorCodes, HttpVerbs } from '../rest/constants.js';
117
import type { Route } from '../rest/Route.js';
128
import type { Router } from '../rest/Router.js';
139
import type { ResolveOptions } from './common.js';

0 commit comments

Comments
 (0)