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

Wrap server? #22

Open
jonthegeek opened this issue May 1, 2022 · 1 comment
Open

Wrap server? #22

jonthegeek opened this issue May 1, 2022 · 1 comment

Comments

@jonthegeek
Copy link
Member

Is it possible for me to replace server with a function that passes things on to server only when the cookie is validated? That would eliminate the need to ever use check_login.

@jonthegeek
Copy link
Member Author

Instead of wrapping the whole server, provide a wrapper for slackverse functions. The wrapper takes input and team_id as extra arguments, and creates something that's reactive on the cookie object (and only calls the actual function when the cookie is set).

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