Fix linter issues

This commit is contained in:
Fang-Pen Lin
2025-11-13 09:22:16 -08:00
parent d4f15a3931
commit 0b7f691f08
4 changed files with 6 additions and 16 deletions
+3 -3
View File
@@ -256,7 +256,7 @@ export const registerPkiAcmeRouter = async (server: FastifyZodProvider) => {
}
},
handler: async (req, res) => {
const { profileId, accountId, payload } = await validateExistingAccount({
const { profileId, accountId } = await validateExistingAccount({
req
});
return sendAcmeResponse(
@@ -365,7 +365,7 @@ export const registerPkiAcmeRouter = async (server: FastifyZodProvider) => {
}
},
handler: async (req, res) => {
const { profileId, accountId, payload } = await validateExistingAccount({
const { profileId, accountId } = await validateExistingAccount({
req
});
res.type("application/pem-certificate-chain");
@@ -398,7 +398,7 @@ export const registerPkiAcmeRouter = async (server: FastifyZodProvider) => {
}
},
handler: async (req, res) => {
const { profileId, accountId, payload } = await validateExistingAccount({ req });
const { profileId, accountId } = await validateExistingAccount({ req });
return sendAcmeResponse(
res,
profileId,
@@ -43,7 +43,7 @@ export const registerBddNockRouter = async (server: FastifyZodProvider) => {
} as Definition;
});
nock.define(processedDefinitions as Definition[]);
nock.define(processedDefinitions);
// Ensure we are activating the nocks, because we could have called `nock.restore()` before this call.
if (!nock.isActive()) {
nock.activate();