Update PlexAPIOAuth.js

This commit is contained in:
luke-hagar-sp
2022-08-16 08:12:10 -05:00
parent ee8087fedf
commit 9e84832054

View File

@@ -3,14 +3,14 @@ import { v4 } from "uuid";
import axios from "axios"; import axios from "axios";
import qs from "qs"; import qs from "qs";
export function CreatePlexClientInformation( export function CreatePlexClientInformation({
clientIdentifier = v4(), clientIdentifier = v4(),
product = FnBrowserDetect(), product = FnBrowserDetect(),
device = navigator.userAgentData.platform, device = navigator.userAgentData.platform,
version = navigator.userAgentData.brands[0].version, version = navigator.userAgentData.brands[0].version,
forwardUrl = "", forwardUrl = "",
platform = "Plex-API-OAuth" platform = "Plex-API-OAuth",
) { }) {
let plexClientInformation = { let plexClientInformation = {
clientIdentifier: clientIdentifier, clientIdentifier: clientIdentifier,
product: product, product: product,