mirror of
https://github.com/p-stream/backend.git
synced 2026-01-11 20:10:33 +00:00
Update progress.ts
This commit is contained in:
parent
53003dd4a2
commit
efb8c2e7ad
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ export default defineEventHandler(async event => {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.path.includes('/progress/') && !event.path.endsWith('/import')) {
|
if (event.path.includes('/progress/') && !event.path.endsWith('/import') && !event.path.endsWith('/cleanup')) {
|
||||||
const segments = event.path.split('/');
|
const segments = event.path.split('/');
|
||||||
const tmdbId = segments[segments.length - 1];
|
const tmdbId = segments[segments.length - 1];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue