Skip to content

Commit

Permalink
Simplified references to ordinary config.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Dec 11, 2024
1 parent 348318b commit c65128b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

import static java.util.Objects.isNull;

@Document(indexName = "#{@environment.getProperty('open.search.index')}")
@Document(indexName = "${open.search.index}")
@Data
@Builder
@NoArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@Setter
@Getter
@Document(indexName = "#{@environment.getProperty('open.search.index')}")
@Document(indexName = "${open.search.index}")
public class OppsummeringsdokumentModel implements Persistable<String> {

@Id
Expand Down

0 comments on commit c65128b

Please sign in to comment.