mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-09-24 21:00:29 +01:00
9 lines
228 B
TypeScript
9 lines
228 B
TypeScript
import * as api from "./base";
|
|
import type { Binary } from "./responseTypes";
|
|
|
|
export async function downloadCertificate(id: number): Promise<Binary> {
|
|
return await api.get({
|
|
url: `/nginx/certificates/${id}/download`,
|
|
});
|
|
}
|