mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
9 lines
433 B
Ruby
9 lines
433 B
Ruby
# frozen_string_literal: true
|
|
|
|
default_provider = AuthProvider.find_by(providable_type: DatabaseProvider.name).name
|
|
json.title notification.notification_type
|
|
json.description t('.account_imported_from_PROVIDER_UID_has_completed_its_information_html',
|
|
PROVIDER: notification.attached_object.provider || default_provider,
|
|
UID: notification.attached_object.uid || notification.attached_object.id)
|
|
|