mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Fix Style/NumericLiterals cop in ProfileStories support module (#28971)
This commit is contained in:
@@ -10,7 +10,7 @@ module ProfileStories
|
|||||||
account: Fabricate(:account, username: 'bob')
|
account: Fabricate(:account, username: 'bob')
|
||||||
)
|
)
|
||||||
|
|
||||||
Web::Setting.where(user: bob).first_or_initialize(user: bob).update!(data: { introductionVersion: 201812160442020 }) if finished_onboarding # rubocop:disable Style/NumericLiterals
|
Web::Setting.where(user: bob).first_or_initialize(user: bob).update!(data: { introductionVersion: 2018_12_16_044202 }) if finished_onboarding
|
||||||
end
|
end
|
||||||
|
|
||||||
def as_a_logged_in_user
|
def as_a_logged_in_user
|
||||||
|
|||||||
Reference in New Issue
Block a user