Skip to content

Commit

Permalink
fix: match user and bot ids through the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg committed Aug 27, 2024
1 parent d56fb6e commit b8a941d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/basic/authenticating-oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ workspace team, the `installation` object resembles the following:
{
team: { id: "T012345678", name: "example-team-name" },
enterprise: undefined,
user: { token: undefined, scopes: undefined, id: "U01234567" },
user: { token: undefined, scopes: undefined, id: "U012345678" },
tokenType: "bot",
isEnterpriseInstall: false,
appId: "A01234567",
Expand All @@ -338,7 +338,7 @@ workspace team, the `installation` object resembles the following:
"chat:write",
],
token: "xoxb-244493-28*********-********************",
userId: "U012345678",
userId: "U001111000",
id: "B01234567"
}
}
Expand Down Expand Up @@ -462,7 +462,7 @@ Most OAuth processes remain the same, but the
user: {
token: "xoxp-314159-26*********-********************",
scopes: ["chat:write"],
id: "U01234567"
id: "U012345678"
},
tokenType: "bot",
appId: "A01234567",
Expand Down

0 comments on commit b8a941d

Please sign in to comment.