@@ -48,7 +48,7 @@ pub struct SubmitTownForGoogle {
4848 pub notes : String ,
4949}
5050
51- pub struct SubmitTownGoogleForm {
51+ pub struct Run169TownsSocietyGoogleForm {
5252 form_id : String ,
5353 member_id : String ,
5454 action : String ,
@@ -66,7 +66,7 @@ pub struct SubmitTownGoogleForm {
6666 answers : HashMap < String , String > ,
6767}
6868
69- impl SubmitTownGoogleForm {
69+ impl Run169TownsSocietyGoogleForm {
7070 pub fn new ( ) -> Self {
7171 Self {
7272 form_id : "1FAIpQLScHViJvQL0G_ZPuCZOIFNsBPthZwDSzbkgiFFeL93wp831diA" . to_string ( ) ,
@@ -91,7 +91,7 @@ impl SubmitTownGoogleForm {
9191 mut self ,
9292 user : User ,
9393 form : SubmitTownForGoogle ,
94- ) -> CompletedSubmitTownGoogleForm {
94+ ) -> CompletedRun169TownsSocietyGoogleForm {
9595 self . answers . insert (
9696 format ! ( "entry.{}" , self . member_id) ,
9797 user. runner_id . unwrap ( ) . to_string ( ) ,
@@ -129,13 +129,13 @@ impl SubmitTownGoogleForm {
129129 self . answers
130130 . insert ( format ! ( "entry.{}" , self . comment) , form. notes ) ;
131131
132- CompletedSubmitTownGoogleForm ( self )
132+ CompletedRun169TownsSocietyGoogleForm ( self )
133133 }
134134}
135135
136- pub struct CompletedSubmitTownGoogleForm ( SubmitTownGoogleForm ) ;
136+ pub struct CompletedRun169TownsSocietyGoogleForm ( Run169TownsSocietyGoogleForm ) ;
137137
138- impl CompletedSubmitTownGoogleForm {
138+ impl CompletedRun169TownsSocietyGoogleForm {
139139 pub async fn submit ( & self ) -> Result < ( ) , String > {
140140 let base_url = "https://docs.google.com/forms/d/e" ;
141141 let url = format ! ( "{}/{}/formResponse" , base_url, self . 0 . form_id) ;
0 commit comments