Skip to content

Commit a47238f

Browse files
changed not found message
1 parent dde0686 commit a47238f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/endpoint_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ pub async fn code(path: web::Path<String>) -> impl Responder {
2525

2626
HttpResponse::Ok().json(serde_json::to_value(&value).unwrap())
2727
}
28-
None => HttpResponse::NotFound().json(json!({"message": "code not found"})),
28+
None => HttpResponse::NotFound().json(json!({"message": "Code not found"})),
2929
}
3030
}

0 commit comments

Comments
 (0)