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

onStoreInstallationFinished #5

Closed
wellermiranda opened this issue Jul 18, 2022 · 1 comment
Closed

onStoreInstallationFinished #5

wellermiranda opened this issue Jul 18, 2022 · 1 comment
Labels
question Further information is requested

Comments

@wellermiranda
Copy link

wellermiranda commented Jul 18, 2022

Hey, first of all, thanks for this package!

We are trying to save additional data into the installation table, but it is impossible because onStoreInstallation executes before persisting (prisma). Is it possible to add an onStoreInstallationFinished method that runs after inserting/updating an installation?

Best,

@seratch
Copy link
Owner

seratch commented Sep 13, 2022

Hi @wellermiranda, I am sorry for my belated response here. bolt-js already supports afterInstallation callback. You can use the hook for it. https://slack.dev/node-slack-sdk/reference/oauth#callbackoptions

@seratch seratch closed this as completed Sep 13, 2022
@seratch seratch added the question Further information is requested label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants