Add missing cert link for order

This commit is contained in:
Fang-Pen Lin
2025-11-07 09:19:55 -08:00
parent 4bb19dd730
commit 5b87011e01
2 changed files with 8 additions and 4 deletions
+5 -3
View File
@@ -261,10 +261,12 @@ export const registerPkiAcmeRouter = async (server: FastifyZodProvider) => {
}
},
handler: async (req, res) => {
const { profileId, accountId } = await validateExistingAccount({
req,
schema: FinalizeAcmeOrderBodySchema
const { profileId, accountId, payload } = await validateExistingAccount({
req
});
if (payload !== "") {
throw new AcmeMalformedError({ detail: "Payload should be empty" });
}
return sendAcmeResponse(
res,
profileId,