change post api endpoint
This commit is contained in:
@@ -169,14 +169,13 @@ import Layout from "../../layouts/Layout.astro";
|
||||
a9: document.getElementById('a9').checked,
|
||||
};
|
||||
let userData = {
|
||||
'status': 'published',
|
||||
'user_id': 'tick-v2@beanstalkedu.com',
|
||||
'user': 'tick-v2@beanstalkedu.com',
|
||||
'game_name': gameName,
|
||||
'game_open': formatedDateTime,
|
||||
'tick_result': checkboxValues,
|
||||
'starts': formatedDateTime,
|
||||
'game_start' : gameStartTime,
|
||||
};
|
||||
|
||||
fetch(`https://management.beanstalkedu.com/items/game_result`, {
|
||||
fetch(`https://2016.dev2-cs.siliconpin.com/save/`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
@@ -343,7 +342,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
'game_open': formatedDateTime,
|
||||
};
|
||||
|
||||
fetch(`https://management.beanstalkedu.com/items/game_result`, {
|
||||
fetch(`https://2016.dev2-cs.siliconpin.com/save/`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user