mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-14 04:52:17 +00:00
Fix return for cancelling job
This commit is contained in:
parent
d124d8645e
commit
1e0d5934d5
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ defmodule Pleroma.Workers.RichMediaWorker do
|
|||
|
||||
{:error, type}
|
||||
when type in [:invalid_metadata, :body_too_large, :content_type, :validate] ->
|
||||
:cancel
|
||||
{:cancel, type}
|
||||
|
||||
error ->
|
||||
{:error, error}
|
||||
|
|
Loading…
Reference in a new issue