mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:26:22 +00:00
fix: hostnames
This commit is contained in:
parent
fbd741960b
commit
ea34b2c676
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ class FediblockState < ApplicationRecord
|
||||||
|
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
def list_names
|
def list_names
|
||||||
@list_names ||= fediblock.instances.map do |instance|
|
@list_names ||= fediblock.hostnames.map do |hostname|
|
||||||
"@*@#{instance}"
|
"@*@#{hostname}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue