mirror of
https://github.com/mjrode/WhatToWatch.git
synced 2025-12-21 13:00:35 -06:00
Fix bug in TDAW url params
This commit is contained in:
@@ -11,7 +11,7 @@ const similarMedia = async (req, res) => {
|
||||
logger.info(
|
||||
`show name for tdaw api similar media ${formattedShowName}`,
|
||||
);
|
||||
const media = 'show';
|
||||
const media = 'shows';
|
||||
const response = await tdawApi.similarMedia(
|
||||
req,
|
||||
formattedShowName.replace(/[{()}]/g, ''),
|
||||
|
||||
@@ -11,7 +11,7 @@ const tdawMediaUrl = function(mediaName, mediaType) {
|
||||
q: mediaName,
|
||||
k: config.tdaw.token,
|
||||
info: 1,
|
||||
mediaType,
|
||||
type: mediaType,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user