tambah route texs
This commit is contained in:
@@ -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",
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user