add feed output orbithashtag

This commit is contained in:
chiu 2025-11-20 11:37:29 +00:00
parent 7f4b054a8b
commit 0fe1e2d4a5
1 changed files with 3 additions and 0 deletions

View File

@ -447,6 +447,9 @@ class Bulletin
b["url"] = ("#{base_url}" + bf.file.url rescue "")
a["bulletin_files"] << b
end
a["orbithashtags"] = self.hashtags.map do |h|
{"name" => h.name.to_s}
end.compact.uniq rescue []
return a
end
def get_related_feeds