Skip to content

Commit 7dbe3d5

Browse files
author
Christoph Henrici
committed
Fixed Demoseed
1 parent a425147 commit 7dbe3d5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-java@v4
1313
with: { distribution: temurin, java-version: '21', cache: maven }
14-
- run: mvn -B -Dskip.frontend=true test
15-
- run: mvn -B -Dskip.frontend=true clean package
14+
- run: mvn -B -Dskip.frontend=true test -Dspring-boot.run.profiles=dev
15+
- run: mvn -B -Dskip.frontend=true clean package -Dspring-boot.run.profiles=dev
1616
- uses: actions/upload-artifact@v4
1717
with: { name: backend-jar, path: target/*.jar }

src/main/java/ch/henr/reactboot/config/TenantFilter.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ public class TenantFilter extends OncePerRequestFilter {
2525
private final TenantRepository tenants;
2626
private final DemoSeedService demoSeed; // inject (present only in
2727

28+
public TenantFilter(TenantRepository tenants) {
29+
this.tenants = tenants;
30+
this.demoSeed = null;
31+
}
32+
2833
public TenantFilter(TenantRepository tenants, DemoSeedService demoSeed) {
2934
this.tenants = tenants;
3035
this.demoSeed = demoSeed;

0 commit comments

Comments
 (0)