Skip to content

Commit

Permalink
#53 rename: auth/authUser -> resolver/authUser/authUser
Browse files Browse the repository at this point in the history
  • Loading branch information
dbwp031 committed Oct 16, 2023
1 parent f0b0741 commit a532239
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.example.ourworldcup.config;

import com.example.ourworldcup.auth.AuthUserArgumentResolver;
import com.example.ourworldcup.resolver.authUser.AuthUserArgumentResolver;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.example.ourworldcup.controller.invitation;

import com.example.ourworldcup.auth.AuthUser;
import com.example.ourworldcup.controller.invitation.dto.InvitationResponseDto;
import com.example.ourworldcup.controller.worldcup.dto.WorldcupResponseDto;
import com.example.ourworldcup.converter.invitation.InvitationConverter;
Expand All @@ -9,6 +8,7 @@
import com.example.ourworldcup.domain.Worldcup;
import com.example.ourworldcup.domain.constant.MemberRole;
import com.example.ourworldcup.domain.userAccount.UserAccount;
import com.example.ourworldcup.resolver.authUser.AuthUser;
import com.example.ourworldcup.service.invitation.InvitationService;
import com.example.ourworldcup.service.worldcup.WorldcupService;
import com.example.ourworldcup.validator.inviToken.ExistInviToken;
Expand Down Expand Up @@ -54,7 +54,7 @@ public ResponseEntity<InvitationResponseDto.ValidityDto> validInviToken(@Request
@PostMapping("/join")
public ResponseEntity<WorldcupResponseDto.PreviewDto> joinWorldcup(@RequestParam @ExistInviToken String token,
@AuthUser UserAccount userAccount) {

System.out.println(userAccount.toString());
Invitation invitation = invitationService.findByUuid(token);
Worldcup worldcup = worldcupService.findByInvitation(invitation);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.example.ourworldcup.controller.worldcup;

import com.example.ourworldcup.auth.AuthUser;
import com.example.ourworldcup.controller.worldcup.dto.WorldcupResponseDto;
import com.example.ourworldcup.converter.worldcup.WorldcupConverter;
import com.example.ourworldcup.domain.Worldcup;
import com.example.ourworldcup.domain.constant.PickType;
import com.example.ourworldcup.domain.game.Game;
import com.example.ourworldcup.domain.userAccount.UserAccount;
import com.example.ourworldcup.resolver.authUser.AuthUser;
import com.example.ourworldcup.service.game.GameService;
import com.example.ourworldcup.service.item.ItemService;
import com.example.ourworldcup.service.member.MemberService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.ourworldcup.auth;
package com.example.ourworldcup.resolver.authUser;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.ourworldcup.auth;
package com.example.ourworldcup.resolver.authUser;

import com.example.ourworldcup.auth.dto.UserAccountDto;
import com.example.ourworldcup.converter.userAccount.UserAccountConverter;
Expand Down

0 comments on commit a532239

Please sign in to comment.