Replace persistence.db with db.gateway.connection
This commit is contained in:
@@ -8,7 +8,7 @@ module Micropub
|
||||
include Deps["settings", "post_utilities.link_finder"]
|
||||
|
||||
def call(post_content:, post_url:, in_reply_to:)
|
||||
Que.connection = Adamantium::Container["persistence.db"]
|
||||
Que.connection = Adamantium::Container["db.gateway"].connection
|
||||
|
||||
Adamantium::Jobs::SendWebMentions.enqueue(post_content: post_content, post_url: post_url, in_reply_to: in_reply_to)
|
||||
end
|
||||
|
Reference in New Issue
Block a user