Skip to content

Commit

Permalink
refactor : TokenResponse -> LoginResponse 변경 및 반환 값 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchef1 committed May 24, 2024
1 parent 5d9a80c commit e02ddcf
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package com.sanbosillok.sanbosillokserver.api.auth.dto;

import lombok.Data;
import lombok.RequiredArgsConstructor;

@Data
public class TokenResponse {
public class LoginResponse {
private String accessToken;
private String role;

public TokenResponse(String accessToken) {
public LoginResponse(String accessToken, String role) {
this.accessToken = accessToken;
this.role = role;
}
}

0 comments on commit e02ddcf

Please sign in to comment.