switching to pointing the website at grist for forms

This commit is contained in:
Chris Cochrun 2025-06-24 09:39:51 -05:00
parent ee252aec13
commit 4cbae46943
2 changed files with 2 additions and 2 deletions

View file

@ -302,7 +302,7 @@ async fn store_camp_form(map: HashMap<&str, String>) -> Result<Response> {
fields.insert("fields", map); fields.insert("fields", map);
json.insert("records", vec![fields]); json.insert("records", vec![fields]);
let response = request let response = request
.post("https://table.tfcconnection.org/api/docs/e8SFoTHpmJuFQsiMhRTXCi/tables/Camp_Data/records") .post("https://table.tfcconnection.org/api/docs/opaHfFbgoZzdPYXhrUt2S8/tables/Camp_Data/records")
.bearer_auth("b8189d1b315548aa610db2fd3a43177a967cd41f") .bearer_auth("b8189d1b315548aa610db2fd3a43177a967cd41f")
.header("Content-Type", "application/json") .header("Content-Type", "application/json")
.json(&json) .json(&json)

View file

@ -445,7 +445,7 @@ async fn store_form(map: HashMap<&str, String>) -> Result<Response> {
json.insert("records", vec![fields]); json.insert("records", vec![fields]);
let res = client let res = client
.post("https://table.tfcconnection.org/api/docs/e8SFoTHpmJuFQsiMhRTXCi/tables/Health_Data/records") .post("https://table.tfcconnection.org/api/docs/opaHfFbgoZzdPYXhrUt2S8/tables/Health_Data/records")
.bearer_auth("b8189d1b315548aa610db2fd3a43177a967cd41f") .bearer_auth("b8189d1b315548aa610db2fd3a43177a967cd41f")
.header("Content-Type", "application/json") .header("Content-Type", "application/json")
.json(&json) .json(&json)