{% import "macros/buttons.html" as buttons %} {% import "macros/forms.html" as forms %} {% import "macros/modal.html" as modal %} {% import "macros/icons.html" as icons %} {% extends "admin/webhooks/logs/list.html" %} {% block head_title_content %}Webhook log ยท {{ super() }}{% endblock %} {% set open_modal = true %} {% block modal %} {% call modal.header() %} {% call modal.title() %}{{ webhook_log.created_at.strftime('%x %X') }}{% endcall %} {% endcall %} {% call modal.body() %}
{% if webhook_log.response %}
Response
{{ webhook_log.response | trim }}
{% endif %} {% if webhook_log.error_message %}
Error message
{{ webhook_log.error_message | trim }}
{% endif %}
Request payload
{{ webhook_log.payload_dict | tojson(indent=4) | trim }}
{% endcall %} {% call modal.footer() %} {% endcall %} {% endblock %}