Skip to content

Commit

Permalink
fix: ambiguous service setter
Browse files Browse the repository at this point in the history
  • Loading branch information
astappiev committed Sep 22, 2023
1 parent f0045d3 commit f776699
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions interweb-core/src/main/java/de/l3s/interweb/core/Query.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class Query implements Serializable {
@Serial
private static final long serialVersionUID = -1510912360277464246L;
Expand All @@ -15,6 +17,7 @@ public void setServices(Set<String> services) {
this.services = services;
}

@JsonIgnore
public void setServices(String ...services) {
this.services = Set.of(services);
}
Expand Down
1 change: 1 addition & 0 deletions interweb-server/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ quarkus.http.cors=true
quarkus.http.cors.origins=/.*/
quarkus.http.cors.access-control-allow-credentials=true

quarkus.ssl.native=true
quarkus.http.port=8030

quarkus.datasource.db-kind=mariadb
Expand Down

0 comments on commit f776699

Please sign in to comment.