API lib cleanup, 404 hosts WIP

This commit is contained in:
Jamie Curnow committed 2025-10-02 08:12:36 +10:00
1 parent 058f49ceea
commit 54e036276a
76 files changed
+921 -544

No files matched your search

+4 -7
View File
@@ -1,11 +1,8 @@
import * as api from "./base";
import type { Certificate } from "./models";
export async function renewCertificate(id: number, abortController?: AbortController): Promise<Certificate> {
return await api.post(
{
url: `/nginx/certificates/${id}/renew`,
},
abortController,
);
export async function renewCertificate(id: number): Promise<Certificate> {
return await api.post({
url: `/nginx/certificates/${id}/renew`,
});
}