Skip to content

Commit

Permalink
Merge pull request #3 from kellydunn/stream-signed-urls-example-update
Browse files Browse the repository at this point in the history
Updating go example for signed urls
  • Loading branch information
renandincer authored Oct 7, 2020
2 parents cb06bd2 + 95e8286 commit cb8dfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion products/stream/src/content/security/signed-urls.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func main() {
builder = builder.Claims(claims{
KeyID: keyID,
VideoID: videoID,
Expiry: jwt.NewNumericDate(time.Now().Add(expiresIn)),
Expiry: *jwt.NewNumericDate(time.Now().Add(expiresIn)),
})
token, err := builder.CompactSerialize()
if err != nil {
Expand Down

0 comments on commit cb8dfe6

Please sign in to comment.