Skip to content

Django example fix - #172

Merged
seratch merged 2 commits into
slackapi:mainfrom
WorkHomeCloud:django-example-fix
Dec 6, 2020
Merged

seratch merged 2 commits into
slackapi:mainfrom
WorkHomeCloud:django-example-fix

Conversation

@vokey

@vokey vokey commented Dec 5, 2020

Copy link
Copy Markdown
Contributor

(Describe the goal of this PR. Mention any related Issue numbers)

The given example of django is not compatible with slack-bolt v1.1.1, after the org-level installation support.

I updated the django models of SlackBot and SlackInstallation, fixed find_bot method of InstallationStore, and implemented find_installation method to it.

Category (place an x in each of the [ ])

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements (place an x in each [ ])

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

vokey added 2 commits December 6, 2020 02:06
- update SlackBot model;
- update SlackInstallation model;
- refactor find_bot;
- implement find_installation;
@CLAassistant

CLAassistant commented Dec 5, 2020 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@seratch seratch added area:adapter area:examples issues related to example or sample code bug Something isn't working labels Dec 6, 2020
@seratch seratch added this to the 1.1.2 milestone Dec 6, 2020
@seratch

seratch commented Dec 6, 2020

Copy link
Copy Markdown
Contributor

@vokey Thanks a lot! LGTM

@seratch
seratch merged commit 0603e0f into slackapi:main Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:adapter area:examples issues related to example or sample code bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants