Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the purpose of deleteInstallation #1112

Closed
1 of 7 tasks
multispace88 opened this issue Sep 10, 2021 · 1 comment
Closed
1 of 7 tasks

What's the purpose of deleteInstallation #1112

multispace88 opened this issue Sep 10, 2021 · 1 comment

Comments

@multispace88
Copy link

Description

Describe your issue here.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • example code related
  • testing related
  • discussion

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

  • [x ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [ x] I've read and agree to the Code of Conduct.
  • [x ] I've searched for any related issues and avoided creating a duplicate issue.

This might be a silly question, but what's the exact purpose of deleteInstallation? I mean, I know it's meant to remove the installation information, but when is it actually triggered?
When installing the app via the /slack/install route, storeInstallation is triggered to store the installation, so I was expecting deleteInstallation would be triggered when the app gets deleted (via Slack -> manage apps -> delete), but that's not the case apparently... So, if you can't track those uninstalls, why even bother cleaning up installations?

@multispace88
Copy link
Author

OK, it was indeed silly. By now, I found that you can actually subscribe to the app_uninstalled event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant