Skip to content

Commit ada116b

Browse files
committed
Use path instead of normalized_path in add_cors for backwards compatibility
1 parent 70e6da1 commit ada116b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samtranslator/model/api/api_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ def _add_cors(self) -> None:
996996

997997
try:
998998
editor.add_cors( # type: ignore[no-untyped-call]
999-
normalized_path,
999+
path,
10001000
properties.AllowOrigin,
10011001
properties.AllowHeaders,
10021002
properties.AllowMethods,

0 commit comments

Comments
 (0)