Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e690d5

Browse files
Thomasludomikula
Thomas
authored andcommitted
Fix issue: Bundle Repository method - findByUserId
1 parente38ae46 commit6e690d5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/bundle/repository/BundleRepository.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
packageorg.lowcoder.domain.bundle.repository;
22

3-
importorg.lowcoder.domain.application.model.Application;
43
importorg.lowcoder.domain.bundle.model.Bundle;
54
importorg.springframework.data.mongodb.repository.ReactiveMongoRepository;
65
importorg.springframework.stereotype.Repository;
@@ -11,7 +10,7 @@
1110
@Repository
1211
publicinterfaceBundleRepositoryextendsReactiveMongoRepository<Bundle,String> {
1312

14-
Flux<Bundle>findByUserId(StringuserId);
13+
Flux<Bundle>findByCreatedBy(StringuserId);
1514
/**
1615
* Filter marketplace bundles from list of supplied IDs
1716
*/

‎server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/bundle/service/BundleServiceImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public Mono<Bundle> create(Bundle bundle) {
5757

5858
@Override
5959
publicFlux<Bundle>findByUserId(StringuserId) {
60-
returnrepository.findByUserId(userId);
60+
returnrepository.findByCreatedBy(userId);
6161
}
6262

6363
@Override

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp