Update magentatv.de.config.js

Updating timezone for the token and session request to point to UTC. This timezone impacts how the timezone for the guide is returned from the server.
This commit is contained in:
Sicilykill 2023-10-24 13:48:27 -05:00 committed by GitHub
parent 20fa9e5bc3
commit cba011aa3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ function fetchCookieAndToken() {
"Referer": "https://api.prod.sngtv.magentatv.de/EPG/", "Referer": "https://api.prod.sngtv.magentatv.de/EPG/",
"Referrer-Policy": "strict-origin-when-cross-origin" "Referrer-Policy": "strict-origin-when-cross-origin"
}, },
"body": "{\"terminalid\":\"00:00:00:00:00:00\",\"mac\":\"00:00:00:00:00:00\",\"terminaltype\":\"WEBTV\",\"utcEnable\":1,\"timezone\":\"America/Chicago\",\"userType\":3,\"terminalvendor\":\"Unknown\"}", "body": "{\"terminalid\":\"00:00:00:00:00:00\",\"mac\":\"00:00:00:00:00:00\",\"terminaltype\":\"WEBTV\",\"utcEnable\":1,\"timezone\":\"Etc/GMT0\",\"userType\":3,\"terminalvendor\":\"Unknown\"}",
"method": "POST" }) "method": "POST" })
.then(response => { .then(response => {
// Check if the response status is OK (2xx) // Check if the response status is OK (2xx)