Skip to content

Commit

Permalink
Merge pull request #854 from petio-team/hotfix-plex-users
Browse files Browse the repository at this point in the history
Hotfix plex users
  • Loading branch information
ADRFranklin authored Dec 31, 2023
2 parents 9769f4d + 12e9e64 commit bc45ea6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio-admin",
"version": "0.5.4-alpha",
"version": "0.5.5-alpha",
"private": true,
"homepage": ".",
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions admin/src/page/Requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,11 @@ class Requests extends React.Component {
? this.state[`edit_${type}`][server.uuid]?.path
: false
}
dataValue={
this.state[`edit_${type}`][server.uuid]?.path
? this.state[`edit_${type}`][server.uuid]?.path
: false
}
// dataValue={
// this.state[`edit_${type}`][server.uuid]?.path
// ? this.state[`edit_${type}`][server.uuid]?.path
// : false
// }
onChange={this.changeServerSettings}
>
<option value="">Please choose</option>
Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio-rest",
"version": "0.5.4-alpha",
"version": "0.5.5-alpha",
"description": "Rest Api for Petio",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion api/plex/libraryUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ class LibraryUpdate {
}

async getFriends() {
let url = `https://plex.tv/pms/friends/all?X-Plex-Token=${this.config.plexToken}`;
let url = `https://plex.tv/api/users?X-Plex-Token=${this.config.plexToken}`;
try {
let res = await axios.get(url);
let dataParse = JSON.parse(
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio",
"version": "0.5.4-alpha",
"version": "0.5.5-alpha",
"private": true,
"homepage": ".",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petio",
"version": "0.5.4-alpha",
"version": "0.5.5-alpha",
"description": "Request Platform for Plex",
"main": "petio.js",
"author": "",
Expand Down

0 comments on commit bc45ea6

Please sign in to comment.