diff --git a/server/app/controllers/MaintenanceController.scala b/server/app/controllers/MaintenanceController.scala index cbb17ff..3828a83 100644 --- a/server/app/controllers/MaintenanceController.scala +++ b/server/app/controllers/MaintenanceController.scala @@ -11,7 +11,7 @@ class MaintenanceController @Inject() ( components: MyJsonControllerComponents) extends MyJsonController(components) { - def run() = public { _ => + def run(query: String) = public { _ => Future.successful(Good(JsObject.empty)) } } diff --git a/server/conf/routes b/server/conf/routes index 06c8969..ba70b05 100644 --- a/server/conf/routes +++ b/server/conf/routes @@ -4,7 +4,7 @@ # ~~~~ GET /health controllers.HealthController.check() -# GET /maintenance controllers.MaintenanceController.run() +# GET /maintenance controllers.MaintenanceController.run(query: String ?= "") GET /transactions/:txid controllers.TransactionsController.getTransaction(txid: String) GET /transactions/:txid/raw controllers.TransactionsController.getRawTransaction(txid: String)