style: tvdb.login to tvdb.test
This commit is contained in:
@@ -29,7 +29,7 @@ tvdbRoutes.put('/', (req, res) => {
|
||||
tvdbRoutes.post('/test', async (req, res, next) => {
|
||||
try {
|
||||
const tvdb = new Tvdb();
|
||||
await tvdb.login();
|
||||
await tvdb.test();
|
||||
return res.status(200).json({ message: 'Successfully connected to Tvdb' });
|
||||
} catch (e) {
|
||||
logger.error('Failed to test Tvdb', {
|
||||
|
||||
Reference in New Issue
Block a user