feat: Update endpoint login
This commit is contained in:
parent
94a143af4a
commit
1d870e5c64
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user