From f3bb1cd8f2866b36ca7ef2c3cc91c2b45f9cc986 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 7 May 2019 10:14:44 +0200 Subject: [PATCH] Update authorization.md --- docs/_advanced/authorization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +```