Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Commit d300cd0

Browse files
committed
ASAP-409 main 행성 조회 수정
1 parent 709de3f commit d300cd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Infrastructure-Module/Persistence/src/main/kotlin/com/asap/persistence/jpa/space/adapter/SpaceManagementJpaAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class SpaceManagementJpaAdapter(
1919
spaceJpaRepository
2020
.findAllActiveSpaceByUserId(userId.value)
2121
.first {
22-
it.index == 0
22+
it.isMain
2323
}.let {
2424
SpaceMapper.toMainSpace(it)
2525
}

0 commit comments

Comments
 (0)