10000 Add priority to statuscode · localstack/localstack@9962e2e · GitHub
[go: up one dir, main page]

Skip to content

Commit 9962e2e

Browse files
committed
Add priority to statuscode
1 parent 4c8bfa3 commit 9962e2e

File tree

1 file changed

+4
-0
lines changed
  • localstack-core/localstack/services/apigateway/next_gen/execute_api/integrations

1 file changed

+4
-0
lines changed

localstack-core/localstack/services/apigateway/next_gen/execute_api/integrations/mock.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ def parse_invalid_json(self, body: str) -> dict:
7878
assert k
7979
assert v
8080

81+
if k == "statusCode":
82+
statuscode = int(v)
83+
continue
84+
8185
if (first_char := k[0]) in "[{":
8286
raise Exception
8387
if first_char in "'\"":

0 commit comments

Comments
 (0)
0