You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
434 B

package controllers
import controllers.common.{MyJsonController, MyJsonControllerComponents}
import javax.inject.Inject
import org.scalactic.Good
import play.api.libs.json.JsObject
import scala.concurrent.Future
class MaintenanceController @Inject() (
components: MyJsonControllerComponents)
extends MyJsonController(components) {
def run(query: String) = public { _ =>
Future.successful(Good(JsObject.empty))
}
}