[api] remarks & drafts/collabs + migrations

This commit is contained in:
2023-01-17 12:11:18 +03:00
committed by bniwredyc
parent 62ed71cf32
commit e38ab0a066
4 changed files with 28 additions and 26 deletions

View File

@@ -72,7 +72,7 @@ async def update_draft(_, info, draft_input):
}
else:
draft_input["updatedAt"] = datetime.now(tz=timezone.utc)
collab.update(**draft_input)
collab.update(draft_input)
session.commit()
# TODO: email notify