From ec068410e4be143933efa75e4cdd5a95b7b66b32 Mon Sep 17 00:00:00 2001 From: Onyxcodeotto <110540920+Onyxcodeotto@users.noreply.github.com> Date: Fri, 17 Nov 2023 13:08:57 +0700 Subject: [PATCH] feat: Authorization for soap request --- src/public/Controller/adminController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public/Controller/adminController.js b/src/public/Controller/adminController.js index f9f718e..436365b 100644 --- a/src/public/Controller/adminController.js +++ b/src/public/Controller/adminController.js @@ -20,7 +20,8 @@ buttons.forEach(function(button){ method: 'POST', headers: { 'Content-Type': 'text/xml;charset=UTF-8', - 'soapAction': "" + 'soapAction': "", + 'Authorization': '0987654321' }, body: envelope, }) -- GitLab