add a pairing endpoint

+ append / to folder paths
+ filter recently played by logged in user id
+ fix typo in login response
+ update track logger migration to add foreign key
This commit is contained in:
cwilvx
2024-06-09 16:14:09 +03:00
parent fcf1469428
commit b32d0a5743
8 changed files with 76 additions and 19 deletions
-2
View File
@@ -1,4 +1,3 @@
from flask_jwt_extended import current_user
from flask_openapi3 import Tag
from flask_openapi3 import APIBlueprint
from pydantic import Field
@@ -40,7 +39,6 @@ def log_track(body: LogTrackBody):
timestamp=timestamp,
duration=duration,
source=source,
userid=current_user["id"],
)
return {"total entries": last_row}