@@ -21,7 +21,7 @@ use log::*;
21
21
params( ApiVersion ) ,
22
22
request_body = entity:: overarching_goals:: Model ,
23
23
responses(
24
- ( status = 201 , description = "Successfully Created a New OverarchingGoal " , body = [ entity:: overarching_goals:: Model ] ) ,
24
+ ( status = 201 , description = "Successfully Created a New Overarching Goal " , body = [ entity:: overarching_goals:: Model ] ) ,
25
25
( status= 422 , description = "Unprocessable Entity" ) ,
26
26
( status = 401 , description = "Unauthorized" ) ,
27
27
( status = 405 , description = "Method not allowed" )
@@ -67,7 +67,7 @@ pub async fn create(
67
67
responses(
68
68
( status = 200 , description = "Successfully retrieved a specific Overarching Goal by its id" , body = [ entity:: notes:: Model ] ) ,
69
69
( status = 401 , description = "Unauthorized" ) ,
70
- ( status = 404 , description = "Note not found" ) ,
70
+ ( status = 404 , description = "Overarching Goal not found" ) ,
71
71
( status = 405 , description = "Method not allowed" )
72
72
) ,
73
73
security(
@@ -149,7 +149,7 @@ pub async fn index(
149
149
State ( app_state) : State < AppState > ,
150
150
Query ( params) : Query < HashMap < String , String > > ,
151
151
) -> Result < impl IntoResponse , Error > {
152
- debug ! ( "GET all OverarchingGoals " ) ;
152
+ debug ! ( "GET all Overarching Goals " ) ;
153
153
debug ! ( "Filter Params: {:?}" , params) ;
154
154
155
155
let overarching_goals = OverarchingGoalApi :: find_by ( app_state. db_conn_ref ( ) , params) . await ?;
0 commit comments