Skip to content

Commit

Permalink
Fix incorrect JSON response
Browse files Browse the repository at this point in the history
Issue #57032

Change-Id: Ibc02971c2b208a4d810af43cb4b1d43beff6919e
  • Loading branch information
bforest committed Nov 9, 2018
1 parent 6af953d commit 895ad6a
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@
{
<#if popularity?exists>
<#-- By popularity -->
<#if popularity?size !=0>
"items" :
[
"items" : [
<#if popularity?size !=0>
<#list popularity as auditItem>
{
"popularity": ${auditItem.popularity?c},
Expand All @@ -58,8 +57,8 @@
"displayName": "${auditItem.objectDisplayName}"
}<#if auditItem_has_next>,</#if>
</#list>
]
</#if>
</#if>
]
<#elseif dates?exists>
<#-- By dates -->
<#if dates?size !=0>
Expand Down

0 comments on commit 895ad6a

Please sign in to comment.