Skip to content

Commit

Permalink
Merge pull request #43 from Likelion12/42-be-develop-오류-해결
Browse files Browse the repository at this point in the history
Fix : develop 오류 해결
  • Loading branch information
jsilver01 authored Aug 1, 2024
2 parents a53933e + 8baa032 commit 4aa8304
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Java CI/CD with Gradle

on:
push:
branches: [ "develop" ]
branches: [ "develop" , "42-be-develop-오류-해결" ]
pull_request:
branches: [ "develop"]
types: [ closed ]
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/example/likelion12/dto/Socialring.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.time.LocalDate;

@Getter
@AllArgsConstructor
public class Socialring {
private Long socialring_id;
private String socialring_name;
private String socialring_img;
private String socialring_date;
private LocalDate socialring_date;
private String active_area_name;
private Integer total_recruits;
private Integer socialring_cost;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public HomeResponse getHomeData(Long memberId) {
socialring.getSocialringId(),
socialring.getSocialringName(),
socialring.getSocialringImg(),
formatDate(socialring.getSocialringDate()),
socialring.getSocialringDate(),
socialring.getActivityRegion().getActivityRegionName(),
socialring.getTotalRecruits(),
socialring.getSocialringCost(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.example.likelion12.domain.base.BaseStatus;
import com.example.likelion12.dto.LoginResponse;
import com.example.likelion12.repository.MemberRepository;
import com.example.likelion12.util.JwtProvider;
import com.example.likelion12.util.*;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.json.JSONObject;
Expand Down

0 comments on commit 4aa8304

Please sign in to comment.