This commit is contained in:
usmankb 2020-04-08 22:04:48 +05:30
parent 8542309fc9
commit 82311087f4

View File

@ -591,7 +591,7 @@ class APIGatewayResponse(BaseResponse):
url_path_parts = self.path.split("/") url_path_parts = self.path.split("/")
domain_name = url_path_parts[2] domain_name = url_path_parts[2]
domain_names={} domain_names = {}
try: try:
if self.method == "GET": if self.method == "GET":
if domain_name is not None: if domain_name is not None:
@ -605,6 +605,3 @@ class APIGatewayResponse(BaseResponse):
error.message, error.error_type error.message, error.error_type
), ),
) )