feat: Update endpoint login

This commit is contained in:
Backend IM Bot 2025-03-24 22:15:55 +00:00
parent 94a143af4a
commit 1d870e5c64

View File

@ -28,7 +28,7 @@ async def login(
data={"sub": user.id}, data={"sub": user.id},
expires_delta=timedelta(hours=1) expires_delta=timedelta(hours=1)
) )
#this is a new test
return { return {
"access_token": access_token, "access_token": access_token,
"token_type": "bearer", "token_type": "bearer",