Skip to content

Commit 8c3b890

Browse files
committed
yet more linting
1 parent b0e8ac6 commit 8c3b890

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

lambdas/api-handler/src/handlers/get-mi.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,19 @@ export default function createGetMIHandler(deps: Deps): APIGatewayProxyHandler {
6262
body: JSON.stringify(result, null, 2),
6363
};
6464
} catch (error) {
65-
emitMetric(
66-
"getMi",
67-
{ supplierId },
68-
deps.logger,
69-
MetricStatus.Failure,
70-
1,
71-
);
65+
emitMetric("getMi", { supplierId }, deps.logger, MetricStatus.Failure, 1);
7266
return processError(error, commonIds.value.correlationId, deps.logger);
7367
}
7468
};
7569
}
7670

77-
function emitMetric(source: string, dimensions: Record<string, string>, logger: pino.Logger, key: string, value: number){
71+
function emitMetric(
72+
source: string,
73+
dimensions: Record<string, string>,
74+
logger: pino.Logger,
75+
key: string,
76+
value: number,
77+
) {
7878
const metric: MetricEntry = {
7979
key,
8080
value,

0 commit comments

Comments
 (0)