Skip to content
Discussion options

You must be logged in to vote

It could be worth investigating migrating something like this to a dedicated GitHub action or external service. If you have this function as a page in pages/api/ it's accessible to the internet, so you'd need some kind of authentication/authorization rules, or risk it getting spammed and doing a lot of extra work on your DB.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@joneslloyd
Comment options

@brianlovin
Comment options

@joneslloyd
Comment options

Answer selected by joneslloyd
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants