5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 23:56:22 +00:00

fix: hostnames

This commit is contained in:
f 2024-03-06 15:03:17 -03:00
parent fbd741960b
commit ea34b2c676
No known key found for this signature in database

View file

@ -82,8 +82,8 @@ class FediblockState < ApplicationRecord
# @return [Array<String>]
def list_names
@list_names ||= fediblock.instances.map do |instance|
"@*@#{instance}"
@list_names ||= fediblock.hostnames.map do |hostname|
"@*@#{hostname}"
end
end