More tests and bugfixes
This commit is contained in:
parent
7a8621e72e
commit
942d12a7c7
3 changed files with 75 additions and 23 deletions
3
app.py
3
app.py
|
@ -810,10 +810,11 @@ def api_new_note():
|
|||
return Response(
|
||||
status=201,
|
||||
response='OK',
|
||||
headers={'Microblogpub-Created-Activity': created.id},
|
||||
headers={'Microblogpub-Created-Activity': create.id},
|
||||
)
|
||||
|
||||
@app.route('/api/stream')
|
||||
@api_required
|
||||
def api_stream():
|
||||
return Response(
|
||||
response=json.dumps(activitypub.build_inbox_json_feed('/api/stream', request.args.get('cursor'))),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue