Skip to content

Commit

Permalink
Fix log when checking if it is a memo or not.# Please enter the commi…
Browse files Browse the repository at this point in the history
…t message for your changes. Lines starting
  • Loading branch information
blancnoir256 committed Aug 21, 2024
1 parent 6c030fd commit 94237c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ func (h *Handler) GetMemoHandler(c echo.Context) error {
Response.CreatedAt = wikiContent.CreatedAt
Response.UpdatedAt = wikiContent.UpdatedAt
} else {
log.Printf("This wikiId exists, but it is not a 'memo'.")
return c.NoContent(http.StatusNotFound)
}

Expand Down

0 comments on commit 94237c2

Please sign in to comment.