switching to pointing the website at grist for forms
This commit is contained in:
		
							parent
							
								
									ee252aec13
								
							
						
					
					
						commit
						4cbae46943
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -302,7 +302,7 @@ async fn store_camp_form(map: HashMap<&str, String>) -> Result<Response> {
 | 
			
		|||
    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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -445,7 +445,7 @@ async fn store_form(map: HashMap<&str, String>) -> Result<Response> {
 | 
			
		|||
    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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue