Return a nested gears org model in notifications

pull/11851/head
Javier Torres 8 years ago
parent 9532b239a7
commit f2c168533a

@ -18,7 +18,7 @@ module CartoGearsApi
id: notification.id,
body: notification.body,
icon: notification.icon,
organization: notification.organization,
organization: CartoGearsApi::Organizations::Organization.from_model(notification.organization),
recipients: notification.recipients,
created_at: notification.created_at
)

Loading…
Cancel
Save