Fix dynamodb example

saveAuthCode function's error