Fix formatting in index.js

This commit is contained in:
2026-04-09 01:26:10 -04:00
parent 5dec909a6c
commit 9c29fc6310

View File

@@ -11,11 +11,7 @@ Pebble.addEventListener("appmessage", function (dict) {
// If someone with Plex Pass wants to give it a shot, I'd be happy to accept a PR adding this as an option. // If someone with Plex Pass wants to give it a shot, I'd be happy to accept a PR adding this as an option.
// Until then, I'm using Tautulli because it's free. // Until then, I'm using Tautulli because it's free.
//callAPI(dict.payload["API_HOST"] + "/status/sessions/history/all", true, dict.payload["API_KEY"]); //callAPI(dict.payload["API_HOST"] + "/status/sessions/history/all", true, dict.payload["API_KEY"]);
callAPI( callAPI(dict.payload["API_HOST"] + "/api/v2?apikey=" + dict.payload["API_KEY"] + "&cmd=get_history", true, NULL);
dict.payload["API_HOST"] + "/api/v2?apikey=" + dict.payload["API_KEY"] + "&cmd=get_history",
true,
NULL,
);
} }
} }
}); });