Skip to content

Commit 4ac9ffa

Browse files
committed
let consumer app overwrite this
1 parent ac27eea commit 4ac9ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cds-feature-attachments/src/main/java/com/sap/cds/feature/attachments/configuration/AttachmentsEnvironmentPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void postProcessEnvironment(
3939
for (PropertySource<?> source : sources) {
4040
// Use addLast() to let the consuming app OVERRIDE your list.
4141
// Use addFirst() to FORCE your list over the consuming app.
42-
environment.getPropertySources().addFirst(source);
42+
environment.getPropertySources().addLast(source);
4343
System.out.println(
4444
"[AttachmentsEnvironmentPostProcessor] Added property source: " + source.getName());
4545

0 commit comments

Comments
 (0)