From 7f28114463dd3ce4da121d828c599cb4e25107c0 Mon Sep 17 00:00:00 2001 From: Heiner1 Date: Mon, 6 Nov 2023 21:20:44 +0100 Subject: [PATCH] Update index.js seems to be solution for login problems, error 422 or 402, authentifikation error; deviceInformation was filled up then broadcasting. --- lib/sources/glooko/index.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/sources/glooko/index.js b/lib/sources/glooko/index.js index 0ff0986..5a4f944 100644 --- a/lib/sources/glooko/index.js +++ b/lib/sources/glooko/index.js @@ -51,7 +51,18 @@ function login_payload (opts) { "password": opts.glookoPassword }, "deviceInformation": { - "deviceModel": "iPhone" + "applicationType": "logbook", + "os": "android", + "osVersion": "33", + "device": "Google Pixel 4a", + "deviceManufacturer": "Google", + "deviceModel": "Pixel 4a", + "serialNumber": "ab43bfjdj3423421fb", + "clinicalResearch": false, + "deviceId": "716c34bac673f4b9", + "applicationVersion": "6.1.3", + "buildNumber": "0", + "gitHash": "g4fbed2011b" } }; return body;