From f3bdb9b9b0cf440570bebb5bea50975aade15b33 Mon Sep 17 00:00:00 2001 From: freamon Date: Sat, 11 Jan 2025 18:48:56 +0000 Subject: [PATCH] Fix AP terminology for creating new posts #419 --- app/community/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/community/routes.py b/app/community/routes.py index 7bcb3db3..d5e61031 100644 --- a/app/community/routes.py +++ b/app/community/routes.py @@ -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',