Merge branch 'v1_db_schema' into main

This commit is contained in:
Andreas Köpf
2022-12-16 09:48:06 +01:00
15 changed files with 498 additions and 36 deletions
+3 -3
View File
@@ -55,7 +55,7 @@ def request_task(
"""
Create new task.
"""
deps.api_auth(api_key, db, create=True)
deps.api_auth(api_key, db)
try:
task = generate_task(request)
@@ -79,7 +79,7 @@ def acknowledge_task(
"""
The frontend acknowledges a task.
"""
deps.api_auth(api_key, db, create=True)
deps.api_auth(api_key, db)
match (type(response)):
case protocol_schema.PostCreatedTaskResponse:
@@ -107,7 +107,7 @@ def post_interaction(
"""
The frontend reports an interaction.
"""
deps.api_auth(api_key, db, create=True)
deps.api_auth(api_key, db)
match (type(interaction)):
case protocol_schema.TextReplyToPost: