tambah aduan sampah
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user