Skip to content

Commit

Permalink
direct install true
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhantshukla814 committed Feb 24, 2023
1 parent 01d6303 commit fe9e125
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const app = new App({
redirectUri: `${process.env.HOST_URI}/slack/oauth_redirect`,
scopes: ["commands", "chat:write"],
installerOptions: {
redirectUriPath: "/slack/oauth_redirect", // and here!,
redirectUriPath: "/slack/oauth_redirect",
directInstall: true,
},
installationStore: {
storeInstallation: async (installation) => {
Expand Down

0 comments on commit fe9e125

Please sign in to comment.