From 4cbae469430ae49565f32db18e93986a9db8671c Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 24 Jun 2025 09:39:51 -0500 Subject: [PATCH] switching to pointing the website at grist for forms --- src/api/camp_form.rs | 2 +- src/api/health_form.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/camp_form.rs b/src/api/camp_form.rs index d82a5be..4235c3e 100644 --- a/src/api/camp_form.rs +++ b/src/api/camp_form.rs @@ -302,7 +302,7 @@ async fn store_camp_form(map: HashMap<&str, String>) -> Result { fields.insert("fields", map); json.insert("records", vec![fields]); 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") .header("Content-Type", "application/json") .json(&json) diff --git a/src/api/health_form.rs b/src/api/health_form.rs index d2f0300..e71854e 100644 --- a/src/api/health_form.rs +++ b/src/api/health_form.rs @@ -445,7 +445,7 @@ async fn store_form(map: HashMap<&str, String>) -> Result { json.insert("records", vec![fields]); 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") .header("Content-Type", "application/json") .json(&json)