tambah route texs

This commit is contained in:
bipproduction
2025-11-10 17:12:50 +08:00
parent cdd7c6fa2b
commit 03955743ca

View File

@@ -24,7 +24,7 @@ const TestRoute = new Elysia({
}
})
.post("/test-info-rapat", ({ body }) => {
.post("/simpan-rapat", ({ body }) => {
if (!body.gambar) {
return {
success: false,
@@ -41,11 +41,11 @@ const TestRoute = new Elysia({
judul: t.String(),
tanggal: t.String(),
deskripsi: t.String(),
gambar: t.String(),
gambar: t.Required(t.String()),
}),
detail: {
summary: "test simpan data rapat",
description: "test simpan data rapat memerlukan base64 gambar",
summary: "simpan data rapat",
description: "simpan data rapat memerlukan base64 gambar",
}
})