diff --git a/app/models/concerns/nostr/nip50.rb b/app/models/concerns/nostr/nip50.rb index e84dec7..5f1a6c2 100644 --- a/app/models/concerns/nostr/nip50.rb +++ b/app/models/concerns/nostr/nip50.rb @@ -27,7 +27,7 @@ def self.by_search_query(query) end end - where(events: { id: SearchableContent.select(:event_id).where("tsv_content @@ #{ts_function}(?)", text).order(tsv_content: :desc) }) + where(events: {id: SearchableContent.select(:event_id).where("tsv_content @@ #{ts_function}(?)", text).order(tsv_content: :desc)}) end def matches_full_text_search?(query)