Skip to content

Commit

Permalink
feat(#9): puzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jun 1, 2024
1 parent d098490 commit 9953479
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ use tokio::fs;

use crate::rs_err::RsErr;

// @todo #9:25min Create unit tests for home.rs.
// We need to create a few unit testes for home endpoints,
// bootstrapping, and fetching. Don't forget to remove this puzzle.
pub async fn home() -> impl IntoResponse {
match json("resources/home.json").await {
Ok(content) => {
Expand Down

0 comments on commit 9953479

Please sign in to comment.