Skip to content

Commit a5eb8fd

Browse files
author
Michael Brewer
committed
fix(data-classes): use correct asdict funciton
1 parent e54263e commit a5eb8fd

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)