Skip to content

Commit

Permalink
♻️:: 리팩토링
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyoil2 committed Jan 4, 2024
1 parent c0d5b84 commit 9f7d523
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ dependencies {
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}"
implementation "com.querydsl:querydsl-apt:${queryDslVersion}"

//websocket
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.json:json:20210307'


// S3
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.281'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class SignupService {
@Transactional
public TokenResponse signup(SignupRequest request) {
if(userRepository.findByStudentId(request.getStudentId()).isPresent()) {
throw UserExistsException.EXCEPTION;
return jwtTokenProvider.receiveToken(request.getStudentId());
}

SchoolClass schoolClass = schoolClassFacade.currentSchoolClass(Long.parseLong(request.getStudentId())/1000, Long.parseLong(request.getStudentId())/100%10);
Expand Down

0 comments on commit 9f7d523

Please sign in to comment.