Fix config export so server settings are correct.

This commit is contained in:
mike.rode
2019-02-12 20:37:35 -06:00
parent 9a057ca1f1
commit ac4e2b3546
7 changed files with 9 additions and 11 deletions

View File

@@ -43,6 +43,7 @@ describe('plexApi', () => {
nock('https://plex.tv')
.get('/api/users?X-Plex-Token=plexToken')
.replyWithFile(200, usersResponse, { 'Content-Type': 'text/xml' });
const options = { token: 'plexToken' };
const PlexApi = new PlexApiClient(options);
const urlParams = PlexApi.getUsersUrlParams();