tambahan
This commit is contained in:
@@ -48,5 +48,27 @@ const LayananRoute = new Elysia({
|
|||||||
description: "create layanan",
|
description: "create layanan",
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.post("/status-ktp", ({ body }) => {
|
||||||
|
const { uniqid } = body
|
||||||
|
|
||||||
|
if (!uniqid) {
|
||||||
|
return {
|
||||||
|
success: false,
|
||||||
|
message: "uniqid is required"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
success: true,
|
||||||
|
data: "on progress"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
body: t.Object({
|
||||||
|
uniqid: t.String(),
|
||||||
|
}),
|
||||||
|
detail: {
|
||||||
|
summary: "status-ktp",
|
||||||
|
description: "status ktp",
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
export default LayananRoute
|
export default LayananRoute
|
||||||
Reference in New Issue
Block a user