Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Next Release #1929

Merged
merged 39 commits into from
Mar 17, 2020
Merged

Next Release #1929

merged 39 commits into from
Mar 17, 2020

Conversation

viveksyngh and others added 13 commits February 1, 2020 22:37
This commit removes sending `files` key with empty string value when
there are no files while sending a message. `files` key with empty
string is causing API to fail with below `BadRequest: "Unable to retrieve content."`.
I have validated that by sending request to webex api from webex developer console.

Signed-off-by: Vivek Singh <[email protected]>
Changes to this file are based on an additional Slack adapter option of "oauthVersion". This would allow for oauth v2 support with minimal changes to the adapter. Updates to this file include 2 conditional statements to use new oauth v2 if options.oauthVersion == 'v2', and updates to example oauth response in the comments.
New slack apps will use oauth v2 by default, we can explain the discrepancy to help devs get up and running faster.
@GaryTowers
Copy link
Contributor

GaryTowers commented Mar 15, 2020

Excited for this! 🙌I'm updating my bot from botkit 0.4 to latest and also updating scopes using V2 OAuth and this release a critical piece of it

@benbrown benbrown marked this pull request as ready for review March 17, 2020 21:35
@benbrown benbrown merged commit 7bcb100 into master Mar 17, 2020
@benbrown benbrown deleted the benbrown/4.7 branch March 17, 2020 21:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
6 participants