From 9793794ff2fa4c45f27ce63c214fd0346cf91de3 Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Thu, 4 Sep 2025 18:38:19 +0800 Subject: [PATCH] upd: kode verification Deskripsi: - update logo pda page kode otp - update text wa No Issues --- app/verification.tsx | 8 +++++--- components/auth/viewVerification.tsx | 12 +++++++----- lib/api.ts | 3 +-- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/app/verification.tsx b/app/verification.tsx index 2207d04..b074aef 100644 --- a/app/verification.tsx +++ b/app/verification.tsx @@ -27,10 +27,12 @@ export default function Index() { - PERBEKEL DARMASABA + {/* PERBEKEL DARMASABA */} Verifikasi Nomor Telepon diff --git a/components/auth/viewVerification.tsx b/components/auth/viewVerification.tsx index 7416b5f..5c3de65 100644 --- a/components/auth/viewVerification.tsx +++ b/components/auth/viewVerification.tsx @@ -57,15 +57,17 @@ export default function ViewVerification({ phone, otp }: Props) { return ( <> - + - + - PERBEKEL DARMASABA + {/* PERBEKEL DARMASABA */} Verifikasi Nomor Telepon diff --git a/lib/api.ts b/lib/api.ts index 5b88457..26bc41f 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -11,8 +11,7 @@ export const apiCheckPhoneLogin = async (body: { phone: string }) => { } export const apiSendOtp = async (body: { phone: string, otp: number }) => { - const res = await axios.get(`${Constants.expoConfig?.extra?.URL_OTP}/code?nom=${body.phone}&text=*DARMASABA*%0A%0A - JANGAN BERIKAN KODE RAHASIA ini kepada siapa pun TERMASUK PIHAK DARMASABA. Masukkan otentikasi: *${encodeURIComponent(body.otp)}*`) + const res = await axios.get(`${Constants.expoConfig?.extra?.URL_OTP}/code?nom=${body.phone}&text=*Desa%2B*%0AMasukkan%20kode%20ini%20*${encodeURIComponent(body.otp)}*%20pada%20aplikasi%20Desa%2B%20anda.%20Jangan%20berikan%20pada%20siapapun.`) return res.status }