From 09fa8fc6048867cc659e108469b21a59ad3646c6 Mon Sep 17 00:00:00 2001 From: ArifHilmi Date: Tue, 26 Nov 2024 11:40:53 +0800 Subject: [PATCH] reversed pull --- Views/Admin/AddModule.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Views/Admin/AddModule.cshtml b/Views/Admin/AddModule.cshtml index 11c0e6d..1f2d012 100644 --- a/Views/Admin/AddModule.cshtml +++ b/Views/Admin/AddModule.cshtml @@ -58,7 +58,7 @@ moduleData:{ ModuleName : null, AllowedUserType : null, - MethodAllowedUserType : "[]", + MethodAllowedUserType : null, ModuleStatus : "1", Description : null, } @@ -66,7 +66,7 @@ }, methods: { saveData() { - fetch('/ModuleAPI/addData', { + fetch('/ModuleAPI/AddModule', { method: 'POST', headers: { 'Content-Type': 'application/json'