From 4fac52cf00555449b63afeaaaa97dfbc6233da6c Mon Sep 17 00:00:00 2001 From: Pat Brisbin Date: Wed, 11 Sep 2024 13:08:16 -0400 Subject: [PATCH] Update github-app-token/src/GitHub/App/Token/Generate.hs --- github-app-token/src/GitHub/App/Token/Generate.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-app-token/src/GitHub/App/Token/Generate.hs b/github-app-token/src/GitHub/App/Token/Generate.hs index 20f4f06..143dcbe 100644 --- a/github-app-token/src/GitHub/App/Token/Generate.hs +++ b/github-app-token/src/GitHub/App/Token/Generate.hs @@ -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