mirror of
https://github.com/LukeHagar/plex-api-oauth.git
synced 2025-12-06 04:20:40 +00:00
Update PlexAPIOAuth.js
This commit is contained in:
@@ -3,14 +3,14 @@ import { v4 } from "uuid";
|
||||
import axios from "axios";
|
||||
import qs from "qs";
|
||||
|
||||
export function CreatePlexClientInformation(
|
||||
export function CreatePlexClientInformation({
|
||||
clientIdentifier = v4(),
|
||||
product = FnBrowserDetect(),
|
||||
device = navigator.userAgentData.platform,
|
||||
version = navigator.userAgentData.brands[0].version,
|
||||
forwardUrl = "",
|
||||
platform = "Plex-API-OAuth"
|
||||
) {
|
||||
platform = "Plex-API-OAuth",
|
||||
}) {
|
||||
let plexClientInformation = {
|
||||
clientIdentifier: clientIdentifier,
|
||||
product: product,
|
||||
|
||||
Reference in New Issue
Block a user