Skip to content

Commit 30d8d78

Browse files
comma resource
1 parent 464850f commit 30d8d78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/cms-sys/internal/service/auth_service.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ func (s *Service) GetUserProfile(userID uuid.UUID) (*types.UserResponse, error)
198198
}, nil
199199
}
200200

201-
202201
func (s *Service) GetMe(req types.GetMeRequest) (*types.UserResponse, error) {
203202

204203
user, err := s.repo.GetUserByEmail(req.Email)
@@ -243,7 +242,7 @@ func (s *Service) UpdateUserProfile(id uuid.UUID, req types.UserUpdateRequest) (
243242
UpdatedAt: user.UpdatedAt,
244243
}, nil
245244

246-
245+
}
247246
func (s *Service) Logout(accessToken, refreshToken string) error {
248247
if accessToken != "" {
249248
accessClaims, err := utils.ValidateToken(accessToken)

0 commit comments

Comments
 (0)