Locales cleanup

This commit is contained in:
Jamie Curnow committed 2023-01-16 15:50:40 +10:00
1 parent af9349d4a7
commit 374447ccc7
26 files changed
+142 -374

No files matched your search

+17
View File
@@ -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;
}