Skip to content

Commit

Permalink
Merge pull request #15 from wolfeidau/fix_default_hook
Browse files Browse the repository at this point in the history
fix(hooks): ensure default hooks are set in New function
  • Loading branch information
wolfeidau committed Aug 8, 2021
2 parents aae0e85 + b3f8e23 commit 8ee3c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamo.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func New(cfgs ...*aws.Config) *DynaSession {
dynamoSvc := dynamodb.New(sess)

return &DynaSession{
dynamoSvc, nil,
dynamoSvc, defaultHooks,
}
}

Expand Down

0 comments on commit 8ee3c12

Please sign in to comment.