mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
Fix AP terminology for creating new posts #419
This commit is contained in:
parent
f0239724c7
commit
f3bdb9b9b0
1 changed files with 2 additions and 2 deletions
|
@ -645,8 +645,8 @@ def add_post(actor, type):
|
|||
'object': {
|
||||
'name': form.title.data,
|
||||
'type': 'Page',
|
||||
'sticky': form.sticky.data,
|
||||
'nsfw': form.nsfw.data,
|
||||
'stickied': form.sticky.data,
|
||||
'sensitive': form.nsfw.data,
|
||||
'nsfl': form.nsfl.data,
|
||||
'id': gibberish(), # this will be updated once we have the post.id
|
||||
'mediaType': 'text/markdown',
|
||||
|
|
Loading…
Reference in a new issue