From 77333a8c689fd7c69dacb66b0e1d510947ebe566 Mon Sep 17 00:00:00 2001 From: yoshihiro-shu Date: Sat, 27 Apr 2024 03:57:19 +0900 Subject: [PATCH] chore --- src/interfaces/api/handler/profile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/api/handler/profile.go b/src/interfaces/api/handler/profile.go index fc0d5453..87e73288 100644 --- a/src/interfaces/api/handler/profile.go +++ b/src/interfaces/api/handler/profile.go @@ -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)}) }