Skip to content

Commit

Permalink
Update github-app-token/src/GitHub/App/Token/Generate.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin authored Sep 11, 2024
1 parent ee5d984 commit 4fac52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-app-token/src/GitHub/App/Token/Generate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ generateInstallationToken creds installationId = do

either (throwIO . AccessTokenJsonDecodeError body) pure $ eitherDecode body
where
-- We're going to use it right away and only onces, so 5m should be more than
-- We're going to use it right away and only once, so 5m should be more than
-- enough
expiration = ExpirationTime $ 5 * 60
issuer = Issuer $ pack $ show creds.appId.unwrap

0 comments on commit 4fac52c

Please sign in to comment.