diff --git a/openbas-api/src/main/java/io/openbas/injectors/channel/ChannelContract.java b/openbas-api/src/main/java/io/openbas/injectors/channel/ChannelContract.java index b540728364..245b08ecbc 100644 --- a/openbas-api/src/main/java/io/openbas/injectors/channel/ChannelContract.java +++ b/openbas-api/src/main/java/io/openbas/injectors/channel/ChannelContract.java @@ -60,7 +60,6 @@ public ContractConfig getConfig() { @Override public List contracts() { Long EXPIRATION_TIME = 3600L; - Double SCORE = 0.0; ContractConfig contractConfig = getConfig(); // In this "internal" contract we can't express choices. // Choices are contextual to a specific exercise. @@ -78,7 +77,7 @@ public List contracts() { Expectation expectation = new Expectation(); expectation.setType(ARTICLE); expectation.setName("Expect targets to read the article(s)"); - expectation.setScore(SCORE); + expectation.setScore(0.0); expectation.setExpirationTime(EXPIRATION_TIME); ContractExpectations expectationsField = expectationsField( "expectations", "Expectations", List.of(expectation)