amalia/16-des-25 #87

Merged
amaliadwiy merged 2 commits from amalia/16-des-25 into main 2025-12-16 13:51:17 +08:00
Showing only changes of commit 18b541116a - Show all commits

View File

@@ -6,7 +6,7 @@ import { generateNoPengajuanSurat } from "../lib/no-pengajuan-surat"
import { isValidPhone, normalizePhoneNumber } from "../lib/normalizePhone"
import { prisma } from "../lib/prisma"
const JENIS_DOKUMEN = ["kk", "ktp", "surat kelian"] as const
const JENIS_DOKUMEN = ["ktp/kk", "pengantar kelian", "foto lokasi"] as const
const PelayananRoute = new Elysia({
@@ -768,6 +768,7 @@ const PelayananRoute = new Elysia({
}
})
const upd = await prisma.dataTextPelayanan.upsert({
where: {
id: hasil?.id