Skip to content

Commit

Permalink
chore: also disable query config to suppress some errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Dec 9, 2023
1 parent 184ecef commit 9fff725
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.jdbi.v3.core.Jdbi;
import org.jetbrains.annotations.NotNull;
import org.postgresql.jdbc.PgArray;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

Expand All @@ -36,6 +37,7 @@
import static io.papermc.hangar.components.query.QueryHelper.EMPTY;

@Configuration
@ConditionalOnProperty("enable-graphql")
public class QueryConfig {

private final Jdbi jdbi;
Expand Down

0 comments on commit 9fff725

Please sign in to comment.