Skip to content

Commit

Permalink
pull 받기 전 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joeun-01 committed Dec 19, 2022
1 parent c2f0c9b commit c8c73db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/sesac/gmd/src/user/UserDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public int createUser(PostUserReq postUserReq) {
Object[] params = new Object[] {
postUserReq.getNickname(), postUserReq.getGender(), postUserReq.getAge(), postUserReq.getEmail(),
postUserReq.getState(), postUserReq.getCity(), postUserReq.getStreet(),
postUserReq.getPushId(), postUserReq.getOauthId() };
postUserReq.getPushId(), postUserReq.getAccessToken() };

this.jdbcTemplate.update(query, params);

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/sesac/gmd/src/user/model/GetCommentRes.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public class GetCommentRes {
private int commentIdx;
private int pinIdx;
private int userIdx;
private String singer;
private String artist;
private String songTitle;
private String album;
private String albumTitle;
private String content;
private String state;
private String city;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sesac/gmd/utils/Validation.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static BaseResponseStatus userValidation(PostUserReq postUserReq) {
if(postUserReq.getPushId().isBlank()) {
return POST_USERS_EMPTY_PUSH;
}
if(postUserReq.getOauthId().isBlank()) {
if(postUserReq.getAccessToken().isBlank()) {
return POST_USERS_EMPTY_OAUTH;
}

Expand Down

0 comments on commit c8c73db

Please sign in to comment.