mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-09-19 05:16:27 -07:00
fix(stats): preserve provider identities and artwork during linking
This commit is contained in:
@@ -106,6 +106,7 @@ export function registerStatsIntegrationRoutes(
|
||||
) {
|
||||
return c.body(null, 400);
|
||||
}
|
||||
if (!(await tracker.hasAnime(animeId))) return c.body(null, 404);
|
||||
const tmdbClient = options?.tmdbClient;
|
||||
if (!tmdbClient) return c.json(statsJson('error', { error: 'TMDB is not available' }), 503);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user