diff --git a/docs/_advanced/authorization.md b/docs/_advanced/authorization.md index 4a79720fe..e00ae5088 100644 --- a/docs/_advanced/authorization.md +++ b/docs/_advanced/authorization.md @@ -44,7 +44,7 @@ const authorizeFn = async ({ teamId, enterpriseId }) => { for (const team in installations) { // Check for matching teamId and enterpriseId in the installations array if ((team.teamId === teamId) && (team.enterpriseId === enterpriseId)) { - // This is a match. Use these installaton credentials. + // This is a match. Use these installation credentials. return { // You could also set userToken instead botToken: team.botToken, @@ -56,4 +56,4 @@ const authorizeFn = async ({ teamId, enterpriseId }) => { throw new Error('No matching authorizations'); } -``` \ No newline at end of file +```