Call upload

This commit is contained in:
2023-01-30 21:32:19 +11:00
parent 5eaf0288fd
commit 52a2f1e538

View File

@@ -11,7 +11,7 @@ module Adamantium
halt 401 if verify_scope(req: req, scope: :media)
upload(file: data) do |m|
upload.call(file: data) do |m|
m.failure do |v|
res.status = 422
end