Imported configuration with incorrect name

This commit is contained in:
2019-06-05 00:05:54 +02:00
parent 5d6f2baa34
commit 4b07434615
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
const PlexRepository = require('src/plex/plexRepository');
const configuration = require('src/config/configuration').getInstance();
const plexRepository = new PlexRepository(onfiguration.get('plex', 'ip'));
const plexRepository = new PlexRepository(configuration.get('plex', 'ip'));
function playingController(req, res) {
plexRepository.nowPlaying()

View File

@@ -1,7 +1,7 @@
const PlexRepository = require('src/plex/plexRepository');
const configuration = require('src/config/configuration').getInstance();
const plexRepository = new PlexRepository(onfiguration.get('plex', 'ip'));
const plexRepository = new PlexRepository(configuration.get('plex', 'ip'));
/**
* Controller: Search for media and check existence