tambahan
This commit is contained in:
@@ -62,7 +62,7 @@ const TestPengaduanRoute = new Elysia({
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
const nomorHP = normalizePhoneNumber({ phone: noTelepon })
|
const nomorHP = normalizePhoneNumber({ phone: "089697338821" })
|
||||||
const cariWarga = await prisma.warga.upsert({
|
const cariWarga = await prisma.warga.upsert({
|
||||||
where: {
|
where: {
|
||||||
phone: nomorHP,
|
phone: nomorHP,
|
||||||
@@ -111,7 +111,7 @@ const TestPengaduanRoute = new Elysia({
|
|||||||
detailPengaduan: t.String(),
|
detailPengaduan: t.String(),
|
||||||
lokasi: t.String(),
|
lokasi: t.String(),
|
||||||
kategoriId: t.String(),
|
kategoriId: t.String(),
|
||||||
noTelepon: t.String(),
|
noTelepon: t.Optional(t.String()),
|
||||||
image: t.Optional(t.String()),
|
image: t.Optional(t.String()),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user