Skip to content

Commit 2966a9b

Browse files
calebbourgjhodapp
andauthored
Review Suggestions
Co-authored-by: Jim Hodapp <james.hodapp@gmail.com>
1 parent a91bd6b commit 2966a9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

web/src/controller/action_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub async fn create(
5959
responses(
6060
(status = 200, description = "Successfully retrieved a specific Action by its id", body = [entity::notes::Model]),
6161
(status = 401, description = "Unauthorized"),
62-
(status = 404, description = "Note not found"),
62+
(status = 404, description = "Action not found"),
6363
(status = 405, description = "Method not allowed")
6464
),
6565
security(

web/src/controller/overarching_goal_controller.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use log::*;
2121
params(ApiVersion),
2222
request_body = entity::overarching_goals::Model,
2323
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]),
2525
(status= 422, description = "Unprocessable Entity"),
2626
(status = 401, description = "Unauthorized"),
2727
(status = 405, description = "Method not allowed")
@@ -67,7 +67,7 @@ pub async fn create(
6767
responses(
6868
(status = 200, description = "Successfully retrieved a specific Overarching Goal by its id", body = [entity::notes::Model]),
6969
(status = 401, description = "Unauthorized"),
70-
(status = 404, description = "Note not found"),
70+
(status = 404, description = "Overarching Goal not found"),
7171
(status = 405, description = "Method not allowed")
7272
),
7373
security(
@@ -149,7 +149,7 @@ pub async fn index(
149149
State(app_state): State<AppState>,
150150
Query(params): Query<HashMap<String, String>>,
151151
) -> Result<impl IntoResponse, Error> {
152-
debug!("GET all OverarchingGoals");
152+
debug!("GET all Overarching Goals");
153153
debug!("Filter Params: {:?}", params);
154154

155155
let overarching_goals = OverarchingGoalApi::find_by(app_state.db_conn_ref(), params).await?;

0 commit comments

Comments
 (0)