Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
feat: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
msrivastav13 committed Dec 24, 2021
1 parent fbda89d commit 91fce21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const { whoamiresponse } = require('../../user-interface/modals');

const whoamiCallback = async ({ shortcut, ack, client }) => {
const whoamiCallback = async ({ shortcut, ack, client, context }) => {
try {
await ack();
const conn = await sf.sfconnection();
const conn = await context.sfconnection();
const currentuser = await conn.identity();
// Call the views.open method using one of the built-in WebClients
await client.views.open({
Expand Down
1 change: 1 addition & 0 deletions scripts/templates/slackApp.connectedApp-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<logoUrl
>https://c1.sfdcstatic.com/content/dam/sfdc-docs/www/logos/salesforce-logo-cloud.png</logoUrl>
<oauthConfig>
<callbackUrl>http://localhost:8080/oauthcallback</callbackUrl>
<consumerKey>{CONSUMERKEY}</consumerKey>
<certificate>{CERTIFICATE}</certificate>
<scopes>Basic</scopes>
Expand Down

0 comments on commit 91fce21

Please sign in to comment.