Skip to content

Commit

Permalink
Update authorization.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored May 7, 2019
1 parent 7596366 commit f3bb1cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_advanced/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -56,4 +56,4 @@ const authorizeFn = async ({ teamId, enterpriseId }) => {

throw new Error('No matching authorizations');
}
```
```

0 comments on commit f3bb1cd

Please sign in to comment.