Skip to content

Commit

Permalink
fix(server): missing break statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 committed Sep 12, 2024
1 parent a68e6be commit 0b979b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/services/job.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export class JobService {
name: JobName.METADATA_EXTRACTION,
data: { id: item.data.id, source: 'sidecar-write' },
});
break;
}

case JobName.METADATA_EXTRACTION: {
Expand Down Expand Up @@ -289,6 +290,7 @@ export class JobService {
}

case JobName.GENERATE_THUMBNAIL: {
console.log({ data: item.data });
if (!(item.data.notify || item.data.source === 'upload')) {
break;
}
Expand Down

0 comments on commit 0b979b6

Please sign in to comment.