Skip to content

Commit 56b6811

Browse files
committed
fix/OPS-362 : 요구사항 반영.
1 parent 5bd4ea3 commit 56b6811

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/main/java/org/tuna/zoopzoop/backend/domain/auth/handler/OAuth2SuccessHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
9292
if ("extension".equals(source)) {
9393
authResult.put(customState, accessToken, sessionId);
9494
response.sendRedirect(redirect_domain + "/extension/success");
95+
response.flushBuffer();
9596
return;
9697
}
9798
}

src/main/java/org/tuna/zoopzoop/backend/domain/space/space/service/SpaceService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import jakarta.persistence.NoResultException;
44
import jakarta.validation.constraints.NotBlank;
55
import lombok.RequiredArgsConstructor;
6-
import org.hibernate.service.spi.ServiceException;
76
import org.hibernate.validator.constraints.Length;
87
import org.springframework.dao.DataIntegrityViolationException;
98
import org.springframework.stereotype.Service;
@@ -99,6 +98,7 @@ public Space createSpace(@NotBlank @Length(max = 50) String name, String thumbna
9998
* @return 삭제된 스페이스 이름
10099
* @throws IllegalArgumentException 스페이스가 존재하지 않을 경우
101100
*/
101+
102102
@Transactional
103103
public String deleteSpace(Integer spaceId) {
104104
Space space = spaceRepository.findById(spaceId)
@@ -118,6 +118,7 @@ public String deleteSpace(Integer spaceId) {
118118
* @throws IllegalArgumentException 스페이스가 존재하지 않을 경우
119119
* @throws DuplicateSpaceNameException 새로운 스페이스 이름이 중복될 경우
120120
*/
121+
121122
@Transactional
122123
public Space updateSpaceName(Integer spaceId, @NotBlank @Length(max = 50) String name) {
123124
Space space = spaceRepository.findById(spaceId)

src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ spring:
3737
temperature: 0
3838
data: #RedisTemplate 등을 사용하기 위한 직접 연결용
3939
redis:
40-
host: localhost
40+
host: 127.0.0.1
4141
port: 6379
4242
timeout: 6000
43+
password: zoopzoopRedisTest!
4344
cache: #Spring Cache를 사용하기 위한 Redis
4445
type: redis
4546
redis:
4647
time-to-live: 300000
4748
cache-null-values: false
48-
key-prefix:
4949

5050
springdoc:
5151
default-produces-media-type: application/json;charset=UTF-8

0 commit comments

Comments
 (0)