mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
add addtl meta to api list
This commit is contained in:
parent
65414c4e00
commit
f5508a012d
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ def api_list():
|
|||
'submitter': post.submitter,
|
||||
'address': address,
|
||||
'title': post.title,
|
||||
'href': url_for('post.read', id=post.id, _external=True)
|
||||
'text': post.text,
|
||||
'href': url_for('post.read', id=post.id, _external=True),
|
||||
'id': post.id,
|
||||
'timestamp': post.timestamp
|
||||
}
|
||||
all_posts.append(payload)
|
||||
return jsonify(all_posts)
|
||||
|
|
Loading…
Reference in a new issue