From 405dc33dba63f008f45b76061a8f1be5031a1d5d Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Thu, 2 Mar 2023 17:02:12 +0700
Subject: midtrans integration

---
 src/lib/auth/components/Register.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/auth/components/Register.jsx')

diff --git a/src/lib/auth/components/Register.jsx b/src/lib/auth/components/Register.jsx
index d02081ce..82b81b52 100644
--- a/src/lib/auth/components/Register.jsx
+++ b/src/lib/auth/components/Register.jsx
@@ -27,7 +27,7 @@ const Register = () => {
     const isRegistered = await registerApi({ data })
     setIsLoading(false)
     if (isRegistered.register) {
-      await axios.post(`${process.env.SELF_HOST}/api/activation-request`, { email })
+      await axios.post(`${process.env.NEXT_PUBLIC_SELF_HOST}/api/activation-request`, { email })
       setAlert({
         children: 'Berhasil mendaftarkan akun anda, cek email untuk melakukan aktivasi akun',
         type: 'success'
-- 
cgit v1.2.3

