From 2ecb81be07b40394bc4625f76809b74dbac897ac Mon Sep 17 00:00:00 2001 From: Eugene Zadyra Date: Fri, 1 Oct 2021 12:37:39 +0200 Subject: [PATCH] #23 Fixed "In order to use this app, please update it to the newest version available in the store" error --- api/src/main/scala/com/lbs/api/ApiBase.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/scala/com/lbs/api/ApiBase.scala b/api/src/main/scala/com/lbs/api/ApiBase.scala index 8a54066..6459c0b 100644 --- a/api/src/main/scala/com/lbs/api/ApiBase.scala +++ b/api/src/main/scala/com/lbs/api/ApiBase.scala @@ -5,14 +5,14 @@ import com.lbs.api.http.headers._ import scalaj.http.{BaseHttp, HttpRequest} object ApiHttp extends BaseHttp( - userAgent = "PatientPortal/3.20.5 (pl.luxmed.pp.LUX-MED; build:853; iOS 13.5.1) Alamofire/4.9.1" + userAgent = "PatientPortal/4.20.5 (pl.luxmed.pp.LUX-MED; build:853; iOS 13.5.1) Alamofire/4.9.1" ) trait ApiBase { private val CommonHeaders = Map( Host -> "portalpacjenta.luxmed.pl", - `Custom-User-Agent` -> "PatientPortal; 3.20.5; 4380E6AC-D291-4895-8B1B-F774C318BD7D; iOS; 13.5.1; iPhone8,1", + `Custom-User-Agent` -> "PatientPortal; 4.20.5; 4380E6AC-D291-4895-8B1B-F774C318BD7D; iOS; 14.5.1; iPhone8,1", Accept -> "*/*", Connection -> "keep-alive", `Accept-Encoding` -> "gzip;q=1.0, compress;q=0.5",