Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hoxfix/#08091033 #291

Merged
merged 2 commits into from
Aug 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.http.HttpHeaders;
import org.springframework.http.ResponseCookie;
Expand All @@ -23,6 +24,7 @@
import server.haengdong.presentation.response.MembersResponse;
import server.haengdong.presentation.response.StepsResponse;

@Slf4j
@RequiredArgsConstructor
@EnableConfigurationProperties(CookieProperties.class)
@RestController
Expand All @@ -34,6 +36,8 @@ public class EventController {

@PostMapping("/api/events")
public ResponseEntity<EventResponse> saveEvent(@Valid @RequestBody EventSaveRequest request) {
log.error("################### 안녕하세요. CI/CD 테스트입니다. ###################");

EventResponse eventResponse = EventResponse.of(eventService.saveEvent(request.toAppRequest()));

String jwtToken = authService.createToken(eventResponse.eventId());
Expand Down
Loading