diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 053a444..3b03cc6 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -4,7 +4,7 @@ on: push: branches: - dev - - feat/** + # 권한 설정 permissions: contents: read diff --git a/src/main/java/com/moneymong/domain/agency/repository/AgencyUserRepositoryImpl.java b/src/main/java/com/moneymong/domain/agency/repository/AgencyUserRepositoryImpl.java index 4a22b5c..3a3ea30 100644 --- a/src/main/java/com/moneymong/domain/agency/repository/AgencyUserRepositoryImpl.java +++ b/src/main/java/com/moneymong/domain/agency/repository/AgencyUserRepositoryImpl.java @@ -42,7 +42,7 @@ public List findAgencyListByUserId(Long userId) { return queryFactory.select(agency) .from(agencyUser) .join(agencyUser.agency, agency) - .where(agencyUser.userId.eq(userId)) + .where(agencyUser.userId.eq(userId), notBlocked()) .fetch(); }