-
Notifications
You must be signed in to change notification settings - Fork 162
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
Auto resolve sports markets #3342
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see why you're calling the API from the scheduler. If you actually want the api endpoint for use by the front-end, you'd add the function to the backend/shared
directory for the scheduler and api to call directly. If getting the completed sports games is a scheduler only task, just keep the logic in the scheduler. It would be nice to get the scores during the game on the frontend, though
Haven't been able to test as I haven't been able to redeploy the scheduler to dev.
My first time coding something involving the scheduler so let me know if I'm doing something wrong!