mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 17:38:07 +01:00
Fixed ANOTHER first_or_create bug. Seriously who came up with that API smh
This commit is contained in:
parent
7837afbb5f
commit
48aeacd5f9
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class ProcessFeedService < BaseService
|
|||
mentioned_account = Account.find_local(href.path.gsub('/users/', ''))
|
||||
|
||||
unless mentioned_account.nil?
|
||||
mentioned_account.mentions.first_or_create(status: status)
|
||||
mentioned_account.mentions.where(status: status).first_or_create(status: status)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue