Skip to content

Commit d208976

Browse files
committed
docs: fix non-existent method
Signed-off-by: heitorlessa <[email protected]>
1 parent a3eac28 commit d208976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/utilities/data_classes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ Use **`APIGatewayAuthorizerRequestEvent`** for type `REQUEST` and **`APIGatewayA
170170
)
171171

172172
if event.authorization_token == "42":
173-
policy.allow_all_methods()
173+
policy.allow_all_routes()
174174
else:
175-
policy.deny_all_methods()
175+
policy.deny_all_routes()
176176
return policy.asdict()
177177
```
178178

0 commit comments

Comments
 (0)