5
0
Fork 0
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:
f 2024-12-18 11:36:58 -03:00
parent 66cf904033
commit 2982ca3baa
No known key found for this signature in database

View file

@ -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