mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-14 17:28:19 +00:00
fix: fallar si no se encuentra el sitio #17889
This commit is contained in:
parent
66cf904033
commit
2982ca3baa
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module ActiveStorage
|
|||
if (token = decode_verified_token)
|
||||
if acceptable_content?(token)
|
||||
blob = ActiveStorage::Blob.find_by_key! token[:key]
|
||||
site = Site.find_by_name token[:service_name]
|
||||
site = Site.find_by_name! token[:service_name]
|
||||
|
||||
if remote_file?(token)
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue