Fix Hound formatting

Closes SCI-2937
This commit is contained in:
Jure Grabnar 2019-01-16 16:11:38 +01:00
parent d1f966ee05
commit 761932282b
2 changed files with 7 additions and 4 deletions

View file

@ -66,7 +66,8 @@ module ModelExporters
def notification(notification)
notification_json = notification.as_json
notification_json['type_of'] = Extends::NOTIFICATIONS_TYPES
.key(notification.read_attribute('type_of'))
.key(notification
.read_attribute('type_of'))
.to_s
notification_json
end

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'digest'
class TeamImporter