tambah route texs

This commit is contained in:
bipproduction
2025-11-10 16:59:26 +08:00
parent e68fe87e9e
commit c51dcfdad4

View File

@@ -4,6 +4,12 @@ const TestRoute = new Elysia({
prefix: "test",
tags: ["mcp", "test"],
}).post("/test-info-rapat", ({ body }) => {
if (!body.gambar) {
return {
success: false,
message: "gambar harus diisi",
}
}
return {
success: true,
message: "data info rapat berhasil diambil",