mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-02-04 01:42:52 +00:00
10 lines
252 B
TypeScript
10 lines
252 B
TypeScript
import * as api from "./base";
|
|
import type { Certificate } from "./models";
|
|
|
|
export async function uploadCertificate(id: number, data: FormData): Promise<Certificate> {
|
|
return await api.post({
|
|
url: `/nginx/certificates/${id}/upload`,
|
|
data,
|
|
});
|
|
}
|