mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-28 00:15:48 +01:00
Check for entries with matching url and filename
This commit is contained in:
parent
8add924dd4
commit
89b6aba98a
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;
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user