Skip to content

Commit

Permalink
fix: no request object on JVM cron (#4014)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Jan 14, 2025
1 parent a24987d commit 9a52427
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void verbsAndCron(CombinedIndexBuildItem index,

schemaContributorBuildItemBuildProducer.produce(
new SchemaContributorBuildItem(moduleBuilder -> moduleBuilder.registerVerbMethod(method, className,
false, ModuleBuilder.BodyType.ALLOWED, (builder -> builder.addMetadata(Metadata.newBuilder()
false, ModuleBuilder.BodyType.DISALLOWED, (builder -> builder.addMetadata(Metadata.newBuilder()
.setCronJob(MetadataCronJob.newBuilder().setCron(cron.value().asString()))
.build())))));
}
Expand Down

0 comments on commit 9a52427

Please sign in to comment.