language models updated
This commit is contained in:
@@ -46,6 +46,7 @@ AuthenticationLoginEventMethods = MethodToEvent(
|
||||
description="Login to the system via domain, access key : [email] | [phone]",
|
||||
)
|
||||
|
||||
|
||||
def authentication_login_with_domain_and_creds_endpoint(
|
||||
request: Request,
|
||||
data: EndpointBaseRequestModel,
|
||||
@@ -78,11 +79,12 @@ def authentication_select_company_or_occupant_type(
|
||||
"""
|
||||
Select company or occupant type.
|
||||
"""
|
||||
auth_dict = authentication_select_company_or_occupant_type.auth
|
||||
auth_context = authentication_select_company_or_occupant_type.auth_context
|
||||
function = AuthenticationSelectEventMethods.retrieve_event(
|
||||
event_function_code=f"{authentication_select_company_or_occupant_type_super_user_event.key}"
|
||||
)
|
||||
return function.endpoint_callable(request=request, data=data, token_dict=auth_dict)
|
||||
function.endpoint_callable.auth_context = auth_context
|
||||
return function.endpoint_callable(request=request, data=data)
|
||||
|
||||
|
||||
AuthenticationSelectEventMethods.endpoint_callable = authentication_select_company_or_occupant_type
|
||||
|
||||
Reference in New Issue
Block a user