Remove scope check on show

This commit is contained in:
2023-01-31 18:47:20 +11:00
parent 3710e201bf
commit 44e257077d

View File

@@ -5,8 +5,6 @@ module Adamantium
include Deps["settings"]
def handle(req, res)
halt 401 unless verify_scope(req: req, scope: :media) || verify_scope(req: req, scope: :create)
res.body = if req.params[:q] == "source"
{
items: media_url(params[:file])