alchemy functions updated
This commit is contained in:
@@ -559,7 +559,7 @@ class AuthenticationRefreshTokenEventMethods(MethodToEvent):
|
||||
):
|
||||
token_refresher = UsersTokens.filter_by_one(
|
||||
token=data.refresh_token, domain=data.domain, *UsersTokens.valid_record_dict
|
||||
)
|
||||
).data
|
||||
if not token_refresher:
|
||||
return JSONResponse(
|
||||
content={"completed": False, "message": "Invalid data", "data": {}},
|
||||
|
||||
Reference in New Issue
Block a user