Fix json template for listing SWF domains
This commit is contained in:
parent
2c3b286b6b
commit
3e2c7dec83
@ -83,13 +83,13 @@ class SWFResponse(BaseResponse):
|
||||
|
||||
LIST_DOMAINS_TEMPLATE = """{
|
||||
"domainInfos": [
|
||||
{% for domain in domains %}
|
||||
{%- for domain in domains %}
|
||||
{
|
||||
"description": "{{ domain.description }}",
|
||||
"name": "{{ domain.name }}",
|
||||
"status": "{{ domain.status }}"
|
||||
}
|
||||
{% endfor %}
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
]
|
||||
}"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user