mirror of
https://github.com/friendica/friendica
synced 2024-11-18 05:03:40 +00:00
sizes links in xml output of api/frienidca/photo is an array
This commit is contained in:
parent
79c32105fc
commit
696fe53d8f
1 changed files with 2 additions and 2 deletions
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue