From bdfbc4cc0e10e02f006fd84aa6992b3119e4d66f Mon Sep 17 00:00:00 2001 From: Viktor Vsk Date: Sun, 5 Nov 2023 21:57:51 +0100 Subject: [PATCH] standardrb --fix --- app/models/concerns/nostr/nip50.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)