deskripsi:
- api

No Issues
This commit is contained in:
2025-11-04 15:32:14 +08:00
parent 25fc7e2d26
commit 13f88efb35
4 changed files with 9 additions and 5 deletions

View File

@@ -96,7 +96,6 @@ const LayananRoute = new Elysia({
detail: {
summary: "Create Layanan KTP/KK",
description: "Create a new service request for KTP or KK.",
tags: ["mcp"],
},
}
)
@@ -132,7 +131,6 @@ const LayananRoute = new Elysia({
detail: {
summary: "Cek Status KTP",
description: "Retrieve the current status of a KTP/KK request by unique ID.",
tags: ["mcp"],
},
}
);

View File

@@ -13,6 +13,9 @@ const PelayananRoute = new Elysia({
const data = await prisma.categoryPelayanan.findMany({
where: {
isActive: true
},
orderBy:{
name: "asc"
}
})
return data
@@ -307,7 +310,7 @@ const PelayananRoute = new Elysia({
idUser: t.String({ minLength: 1, error: "idUser harus diisi" }),
}),
detail: {
summary: "Update status pengajuan pelayanan surat",
summary: "Update Status Pengajuan Pelayanan Surat",
description: `tool untuk update status pengajuan pelayanan surat`,
tags: ["mcp"]
}

View File

@@ -13,6 +13,9 @@ const PengaduanRoute = new Elysia({
const data = await prisma.categoryPengaduan.findMany({
where: {
isActive: true
},
orderBy: {
name: "asc"
}
})
return data