Skip to content

Commit 42abbc8

Browse files
author
Michael Brewer
authored
fix(data-classes): use correct asdict funciton (#666)
1 parent 52c685c commit 42abbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/utilities/data_classes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ In this example extract the `requestId` as the `correlation_id` for logging, use
299299

300300
if not user:
301301
# No user found, return not authorized
302-
return AppSyncAuthorizerResponse().to_dict()
302+
return AppSyncAuthorizerResponse().asdict()
303303

304304
return AppSyncAuthorizerResponse(
305305
authorize=True,

0 commit comments

Comments
 (0)