fix: correctly format IMDb ID value when using anime mappings for RPDB

This commit is contained in:
Viren070
2025-09-23 00:32:31 +01:00
parent 684cd5e843
commit f65dea3a3a
+1 -1
View File
@@ -93,7 +93,7 @@ export class RPDB {
idValue = `${type}-${entry.mappings.themoviedbId}`;
} else if (entry.mappings?.imdbId) {
idType = 'imdb';
idValue = `tt${entry.mappings.imdbId}`;
idValue = entry.mappings.imdbId.toString();
} else {
return null;
}