5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:41:43 +00:00

Merge branch 'issue-14550' into 'rails'

No enviar Gateways Ipfs en mail de notificacion #14550

See merge request sutty/sutty!232
This commit is contained in:
Jazzari 2024-04-19 17:06:57 +00:00
commit f3362eb27c

View file

@ -87,7 +87,7 @@ class DeployDistributedPress < Deploy
# @return [Array] # @return [Array]
def gateway_urls def gateway_urls
remote_info.dig(:distributed_press, :links)&.values&.map do |protocol| remote_info.dig(:distributed_press, :links)&.values&.map do |protocol|
[ protocol[:link], protocol[:gateway] ] [protocol[:link]]
end&.flatten&.compact&.select do |link| end&.flatten&.compact&.select do |link|
link.include? '://' link.include? '://'
end || [] end || []