Skip to content

Commit

Permalink
Merge pull request #5 from 0xflotus/patch-1
Browse files Browse the repository at this point in the history
Update authorization.md
  • Loading branch information
0xflotus authored May 7, 2019
2 parents e7306d0 + f3bb1cd commit fe6114f
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 fe6114f

Please sign in to comment.