mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-29 01:17:52 +01:00
Locales cleanup
This commit is contained in:
1 parent
af9349d4a7
commit
374447ccc7
26 files changed
+142
-374
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import * as api from "./base";
|
||||
import { Certificate } from "./models";
|
||||
|
||||
export async function setCertificate(
|
||||
id: number,
|
||||
data: any,
|
||||
): Promise<Certificate> {
|
||||
if (data.id) {
|
||||
delete data.id;
|
||||
}
|
||||
|
||||
const { result } = await api.put({
|
||||
url: `/certificates/${id}`,
|
||||
data,
|
||||
});
|
||||
return result;
|
||||
}
|
||||
Reference in new issue
Block a user