Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshihiro-shu committed Apr 26, 2024
1 parent 971d549 commit 77333a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/api/handler/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ type responseGetResume struct {

func (h profileHandler) GetResume(w http.ResponseWriter, r *http.Request) error {
res, err := h.profileUsecase.GetResume()
h.logger.Info("Get Resume String", zap.String("htmlContent", string(res)))
h.logger.Info("Get Resume Any", zap.Any("res", res))
if err != nil {
return request.JSON(w, http.StatusInternalServerError, err.Error())
}
h.logger.Info("Get Resume String", zap.String("htmlContent", string(res)))
h.logger.Info("Get Resume Any", zap.Any("res", res))
return request.JSON(w, http.StatusOK, responseGetResume{string(res)})
}

0 comments on commit 77333a8

Please sign in to comment.