mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
adjust blob proxy
This commit is contained in:
1 parent
4bbd5c3bcb
commit
6727d3be83
2 files changed
+14
-5
No files matched your search
@@ -10,7 +10,11 @@ module Api
|
||||
def show
|
||||
blob_uuid = ApplicationRecord.signed_id_verifier.verified(params[:signed_uuid])
|
||||
|
||||
return head :not_found unless blob_uuid
|
||||
unless blob_uuid
|
||||
Rollbar.error('Blob not found') if defined?(Rollbar)
|
||||
|
||||
return head :not_found
|
||||
end
|
||||
|
||||
blob = ActiveStorage::Blob.find_by!(uuid: blob_uuid)
|
||||
|
||||
|
||||
Reference in new issue
Block a user