alchemy flush and save functions updated

This commit is contained in:
2024-11-11 18:55:53 +03:00
parent c42a19c262
commit 1f1222c32d
163 changed files with 6296 additions and 476 deletions

View File

@@ -47,11 +47,10 @@ def authentication_select_company_or_occupant_type(
@login_route.post(path="/login", summary="Login user with domain and password")
def authentication_login_with_domain_and_creds(request: Request, data: Login):
active_function = getattr(
AuthenticationLoginEventMethod, "authentication_login_with_domain_and_creds"
)
return active_function(data=data, request=request, token_dict=None)
return active_function(request=request, data=data)
@login_route.get(path="/valid", summary="Check access token is valid")