From 68dc738aee46f8af31b05271c961b1229d12c8e5 Mon Sep 17 00:00:00 2001 From: hehehaha Date: Mon, 16 May 2022 03:01:40 +0545 Subject: [PATCH] token updated --- GME Remit/APIs/RestApiManager.swift | 2 +- GME Remit/APIs/Router/APIRouter.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GME Remit/APIs/RestApiManager.swift b/GME Remit/APIs/RestApiManager.swift index fe911574..5cef5a2d 100644 --- a/GME Remit/APIs/RestApiManager.swift +++ b/GME Remit/APIs/RestApiManager.swift @@ -63,7 +63,7 @@ class RestApiMananger { func getContentHeaderBeforeLogin() -> [String: String] { let currentLanguage = Localize.currentLanguage() let lang = Utility.getLanguageHeader(for: currentLanguage) - return ["Authorization": "Basic " + ("NTIyMDIyMUQyRTczN0ZENjBDMjgyNDM6ZlVqWG4ycjU6MTEx=" + + return ["Authorization": "Basic " + ("5220221D2E737FD60C28243:fUjXn2r5:" + ":" + getUUID()).toBase64(), "GME-TOKEN" : "@NcRfTjWnZr4u7x!A%D*G-KaPdSgVkXp", "Content-Type": "application/json", diff --git a/GME Remit/APIs/Router/APIRouter.swift b/GME Remit/APIs/Router/APIRouter.swift index a02241bf..1686b9bc 100644 --- a/GME Remit/APIs/Router/APIRouter.swift +++ b/GME Remit/APIs/Router/APIRouter.swift @@ -125,7 +125,7 @@ extension APIRouter: ApiServiceType { private var beforeLoginHeader: [String: String] { let currentLanguage = Localize.currentLanguage() let lang = Utility.getLanguageHeader(for: currentLanguage) - let authValue = "5220221D2E737FD60C28243:fUjXn2r5:fUjXn2r5:\(uuid)".toBase64() + let authValue = "5220221D2E737FD60C28243:fUjXn2r5:\(uuid)".toBase64() return [ "Authorization": "Basic \(authValue)",