]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/api_photo_detail_xml.tpl
Merge pull request #2216 from fabrixxm/feature-api-like
[friendica.git] / view / templates / api_photo_detail_xml.tpl
index 335ec0a9d3a15bbe7886aca49ca16ee7411bf4ee..0b0602901bc62b67f6c4e4ec5dff4f09afdbb2f6 100644 (file)
@@ -12,9 +12,9 @@
        <width>{{$photo.width}}</width>
        <datasize>{{$photo.datasize}}</datasize>
        <profile>1</profile>
-       <url>{{foreach $photo.link as $scale => $url}}
+       <links type="array">{{foreach $photo.link as $scale => $url}}
                <link type="{{$photo.type}}" scale="{{$scale}}" href="{{$url}}" />
-       {{/foreach}}</url>
+       {{/foreach}}</links>
        {{if $photo.data}}
        <data encode="base64">{{$photo.data}}</data>
        {{/if}}