mirror of
https://github.com/cna-bootcamp/lifesub.git
synced 2025-12-06 16:16:22 +00:00
add cicd
This commit is contained in:
parent
5e39e45d91
commit
b25f898815
@ -18,7 +18,6 @@ import org.springframework.stereotype.Service;
|
|||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@ -40,7 +39,7 @@ public class MemberServiceImpl implements MemberService {
|
|||||||
// 사용자의 권한 정보 생성
|
// 사용자의 권한 정보 생성
|
||||||
Collection<? extends GrantedAuthority> authorities = member.getRoles().stream()
|
Collection<? extends GrantedAuthority> authorities = member.getRoles().stream()
|
||||||
.map(SimpleGrantedAuthority::new)
|
.map(SimpleGrantedAuthority::new)
|
||||||
.collect(Collectors.toList());
|
.toList();
|
||||||
|
|
||||||
return jwtTokenProvider.createToken(member, authorities);
|
return jwtTokenProvider.createToken(member, authorities);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user