mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-05 01:45:14 +00:00
9 lines
226 B
TypeScript
9 lines
226 B
TypeScript
import * as api from "./base";
|
|
import type { Certificate } from "./models";
|
|
|
|
export async function renewCertificate(id: number): Promise<Certificate> {
|
|
return await api.post({
|
|
url: `/nginx/certificates/${id}/renew`,
|
|
});
|
|
}
|