Remove :without_protection from call in the posts fetcher and fix a couple hundreds specs as a side effect
Heisenbugs ftw.
This commit is contained in:
parent
7e7082a3bd
commit
2d57e15d5d
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ module Diaspora; module Fetcher; class Public
|
||||||
:created_at => ActiveSupport::TimeZone.new('UTC').parse(post['created_at']).to_datetime,
|
:created_at => ActiveSupport::TimeZone.new('UTC').parse(post['created_at']).to_datetime,
|
||||||
:interacted_at => ActiveSupport::TimeZone.new('UTC').parse(post['interacted_at']).to_datetime,
|
:interacted_at => ActiveSupport::TimeZone.new('UTC').parse(post['interacted_at']).to_datetime,
|
||||||
:frame_name => post['frame_name']
|
:frame_name => post['frame_name']
|
||||||
}, :without_protection => true)
|
})
|
||||||
entry.save
|
entry.save
|
||||||
|
|
||||||
# re-enable everything we disabled before
|
# re-enable everything we disabled before
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue