0.2.19-fix
All checks were successful
deploy / deploy (push) Successful in 1m15s

This commit is contained in:
Untone 2024-01-10 16:31:01 +03:00
parent e7b9d419c4
commit 2d66870443
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
[0.2.19]
- fix: stripping user_id
[0.2.18]
- services: auth updated
- services: core updated

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "discoursio-inbox"
version = "0.2.18"
version = "0.2.19"
description = "Inbox server for discours.io"
authors = ["Tony Rewin <anton.rewin@gmail.com>"]

View File

@ -59,7 +59,7 @@ def login_required(f):
req = context.get("request")
user_id = await check_auth(req)
if user_id:
context["user_id"] = user_id
context["user_id"] = user_id.strip()
author = get_author_by_user(user_id)
if author and "id" in author:
context["author_id"] = author["id"]