tambah aduan sampah

This commit is contained in:
bipproduction
2025-10-20 14:01:08 +08:00
parent 4cec5e40ab
commit 75d8f6a1c3
12 changed files with 168 additions and 70 deletions

View File

@@ -20,5 +20,20 @@ const AduanRoute = new Elysia({
description: "create aduan",
}
})
.post("/aduan-sampah", () => {
return {
success: true,
data: ""
}
}, {
body: t.Object({
title: t.String(),
description: t.String(),
}),
detail: {
summary: "aduan sampah",
description: "tool untuk membuat aduan sampah liar",
}
})
export default AduanRoute