Check for entries with matching url and filename
This commit is contained in:
4
bot.ts
4
bot.ts
@@ -155,8 +155,8 @@ export const bot: ApplicationFunction = (app) => {
|
||||
|
||||
let urlEntriesToRenameText = '';
|
||||
const urlFilenameEntries = playlistLookupResults.filter(
|
||||
({ found, filename }) => {
|
||||
found && getPlaylistIdFromUrl(filename);
|
||||
({ found, filename, url }) => {
|
||||
found && filename === url;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user