fix mcp generator
This commit is contained in:
@@ -21,9 +21,15 @@ const PengaduanRoute = new Elysia({
|
|||||||
},
|
},
|
||||||
orderBy: {
|
orderBy: {
|
||||||
name: "asc"
|
name: "asc"
|
||||||
|
},
|
||||||
|
select: {
|
||||||
|
id: true,
|
||||||
|
name: true,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return data
|
|
||||||
|
|
||||||
|
return {data}
|
||||||
}, {
|
}, {
|
||||||
detail: {
|
detail: {
|
||||||
summary: "List Kategori Pengaduan",
|
summary: "List Kategori Pengaduan",
|
||||||
|
|||||||
Reference in New Issue
Block a user