Fix dynamodb example

saveAuthCode function's error
Merge pull request #82 from stanzhai/master

Fix dynamodb example