Skip to content

Commit 8aafb49

Browse files
committed
fix linting issues
1 parent a1b9330 commit 8aafb49

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/api/functions/sts.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { AssumeRoleCommand } from "@aws-sdk/client-sts";
22
import { STSClient } from "@aws-sdk/client-sts";
33
import { genericConfig } from "common/config.js";
44
import { InternalServerError } from "common/errors/index.js";
5-
import { duration } from "moment";
65

76
export async function getRoleCredentials(
87
roleArn: string,

src/api/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint import/no-nodejs-modules: ["error", {"allow": ["crypto"]}] */
22
import { randomUUID } from "crypto";
3-
import fastify, { FastifyInstance, FastifyRequest } from "fastify";
3+
import fastify, { FastifyInstance } from "fastify";
44
import FastifyAuthProvider from "@fastify/auth";
55
import fastifyAuthPlugin from "./plugins/auth.js";
66
import protectedRoute from "./routes/protected.js";
@@ -24,7 +24,6 @@ import { SecretsManagerClient } from "@aws-sdk/client-secrets-manager";
2424
import mobileWalletRoute from "./routes/mobileWallet.js";
2525
import stripeRoutes from "./routes/stripe.js";
2626
import membershipPlugin from "./routes/membership.js";
27-
import rateLimiterPlugin from "./plugins/rateLimiter.js";
2827

2928
dotenv.config();
3029

0 commit comments

Comments
 (0)