Fix not picking up or push_notification_provider in cdm config template

feature/traccar-sync
Saad Sahibjan 3 years ago
parent 78824205c1
commit 7f23347701

@ -44,7 +44,7 @@
<Provider>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.XMPPBasedPushNotificationProvider</Provider> <Provider>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.XMPPBasedPushNotificationProvider</Provider>
{% if device_mgt_conf.push_notification_conf.push_notification_providers is defined %} {% if device_mgt_conf.push_notification_conf.push_notification_providers is defined %}
{%- for push_notification_provider in device_mgt_conf.push_notification_conf.push_notification_providers -%} {%- for push_notification_provider in device_mgt_conf.push_notification_conf.push_notification_providers -%}
<Provider>{{push_notification_provider.name}}</Provider> <Provider>{{push_notification_provider}}</Provider>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</PushNotificationProviders> </PushNotificationProviders>

Loading…
Cancel
Save