This commit is contained in:
Rafael dos Santos Silva 2023-03-13 19:14:30 -03:00
parent 70fc240fb1
commit 7055a290ae
No known key found for this signature in database
GPG Key ID: 5E50360227B34938
2 changed files with 5 additions and 2 deletions

View File

@ -20,7 +20,10 @@ module DiscourseAI
plugin.on(:topic_created, &callback)
plugin.on(:topic_edited, &callback)
DiscoursePluginRegistry.register_list_suggested_for_provider(SemanticSuggested.method(:build_suggested_topics), plugin)
DiscoursePluginRegistry.register_list_suggested_for_provider(
SemanticSuggested.method(:build_suggested_topics),
plugin,
)
end
end
end

View File

@ -9,7 +9,7 @@ module ::DiscourseAI
end
def self.db
@@db ||= connect!
@@db ||= connect!
end
end
end