From 3c109478dbdfa816ea82263e368928790ec44c69 Mon Sep 17 00:00:00 2001
From: Dhafin Raditya Juliawan <dhafinraditya35@gmail.com>
Date: Mon, 26 Dec 2022 20:34:46 +0800
Subject: [PATCH] Fix bug new railway

---
 sirest/settings.py | 6 +++---
 trigger3/views.py  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sirest/settings.py b/sirest/settings.py
index 2722869..6b58847 100644
--- a/sirest/settings.py
+++ b/sirest/settings.py
@@ -95,9 +95,9 @@ DATABASES = {
         'ENGINE': 'django.db.backends.postgresql',
         'NAME' : 'railway',
         'USER' : 'postgres',
-        'PASSWORD' : 'tIDurBDfmgUuD3TOcscW',
-        'HOST' : 'containers-us-west-156.railway.app',
-        'PORT' : '8035'
+        'PASSWORD' : '2fsJCPn53SqthFvo4tLq',
+        'HOST' : 'containers-us-west-122.railway.app',
+        'PORT' : '7959'
     },
 }
 
diff --git a/trigger3/views.py b/trigger3/views.py
index 5c4c5b8..3e1c15c 100644
--- a/trigger3/views.py
+++ b/trigger3/views.py
@@ -367,8 +367,8 @@ def menu_restoran_cust(request, rname, rbranch):
     record = cursor.fetchall()
     context = {
         'dataMenu': record,
-        'rname': request.COOKIES.get('rname'),
-        'rbranch': request.COOKIES.get('rbranch'),
+        'rname': rname,
+        'rbranch': rbranch,
         'adminid': request.COOKIES.get('adminid'),
         'role': role
     }
-- 
GitLab