Support creating note via C2S

This commit is contained in:
Thomas Sileo 2022-12-18 16:05:41 +01:00
parent ed214cf0e7
commit 0b86df413a
3 changed files with 35 additions and 5 deletions

View file

@ -1182,7 +1182,7 @@ async def admin_actions_new(
elif name:
ap_type = "Article"
public_id = await boxes.send_create(
public_id, _ = await boxes.send_create(
db_session,
ap_type=ap_type,
source=content,