Skip to content

Commit 9e824e2

Browse files
author
Will Toozs
committed
fixup: post review
1 parent e109d2d commit 9e824e2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/errors/arsenalErrors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export const InvalidURI: ErrorFormat = {
247247
description: "Couldn't parse the specified URI.",
248248
};
249249

250-
export const KeyTooLongError: ErrorFormat = {
250+
export const KeyTooLong: ErrorFormat = {
251251
code: 400,
252252
description: 'Your key is too long.',
253253
};

lib/s3routes/routes/routePOST.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function routePOST(
6464
.customizeDescription("Query String Parameters not allowed on POST requests."), null,
6565
response, 400, log);
6666
}
67-
return api.callPostObject!('objectPost', request, response, log, (err, resHeaders) => routesUtils.responseNoBody(err, resHeaders, response, 204, log));
67+
return api.callPostObject('objectPost', request, response, log, (err, resHeaders) => routesUtils.responseNoBody(err, resHeaders, response, 204, log));
6868
}
6969

7070
return routesUtils.responseNoBody(errors.NotImplemented, null, response,

lib/s3routes/routesUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import DataWrapper from '../storage/data/DataWrapper';
1111
import StatsClient from '../metrics/StatsClient';
1212

1313
export type ApiMethods = {
14-
callApiMethod: CallApiMethod;
15-
callPostObject: CallApiMethod;
14+
callApiMethod: CallApiMethod;
15+
callPostObject: CallApiMethod;
1616
};
1717

1818
export type CallApiMethod = (

0 commit comments

Comments
 (0)