mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 06:48:43 -05:00
Fix last failing test
This commit is contained in:
@@ -60,11 +60,12 @@ class Users::ImportData::Stats
|
||||
end
|
||||
|
||||
def prepare_stat_attributes(stat_data)
|
||||
attributes = stat_data.except('created_at', 'updated_at')
|
||||
attributes = stat_data.except('created_at', 'updated_at', 'sharing_uuid')
|
||||
|
||||
attributes['user_id'] = user.id
|
||||
attributes['created_at'] = Time.current
|
||||
attributes['updated_at'] = Time.current
|
||||
attributes['sharing_uuid'] = SecureRandom.uuid
|
||||
|
||||
attributes.symbolize_keys
|
||||
rescue StandardError => e
|
||||
|
||||
Reference in New Issue
Block a user