Imported configuration with incorrect name
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| const PlexRepository = require('src/plex/plexRepository'); | const PlexRepository = require('src/plex/plexRepository'); | ||||||
| const configuration = require('src/config/configuration').getInstance(); | 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) { | function playingController(req, res) { | ||||||
|    plexRepository.nowPlaying() |    plexRepository.nowPlaying() | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| const PlexRepository = require('src/plex/plexRepository'); | const PlexRepository = require('src/plex/plexRepository'); | ||||||
| const configuration = require('src/config/configuration').getInstance(); | 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 |  * Controller: Search for media and check existence | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user