Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix typo

Chocobozzze1f7835ad6d6
diff --git a/apps/peertube-runner/src/server/process/shared/process-studio.ts b/apps/peertube-runner/src/server/process/shared/process-studio.ts
index 836211a227..0035fdb985 100644
--- a/apps/peertube-runner/src/server/process/shared/process-studio.ts
+++ b/apps/peertube-runner/src/server/process/shared/process-studio.ts
@@ -125,7 +125,7 @@ async function processTask (options: TaskProcessorOptions) {
const { task } = options
const processor = taskProcessors[options.task.name]
- if (!process) throw new Error('Unknown task ' + task.name)
+ if (!processor) throw new Error('Unknown task ' + task.name)
return processor(options)
}