Implemented Cron - untested
This commit is contained in:
parent
b7b1c3848f
commit
04f207db5d
3 changed files with 52 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ export async function scoreTask(username: string, credentials: string, taskID: s
|
|||
})
|
||||
return(response)
|
||||
}
|
||||
export async function makeCronReq(username: string, credentials: string, taskID: string){
|
||||
export async function makeCronReq(username: string, credentials: string){
|
||||
const url = "https://habitica.com/api/v3/cron";
|
||||
const response = fetch(url, {
|
||||
method: 'POST',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue