Open jonthegeek opened 2 years ago
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).
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.