From 3a13d5bc909849be63631ffd70de01dcf0c299f2 Mon Sep 17 00:00:00 2001 From: Roberto Tyley Date: Wed, 31 Jan 2024 16:15:04 +0000 Subject: [PATCH] Explicit type declaration for implicits --- app/model/transcoder/JobStatus.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/model/transcoder/JobStatus.scala b/app/model/transcoder/JobStatus.scala index c983a0a01..af0314dec 100644 --- a/app/model/transcoder/JobStatus.scala +++ b/app/model/transcoder/JobStatus.scala @@ -2,10 +2,11 @@ package model.transcoder import ai.x.play.json.Encoders.encoder import ai.x.play.json.Jsonx +import play.api.libs.json.Format case class JobStatus(key: String, status: String, statusDetail: Option[String]) object JobStatus { - implicit val jobStatusFormat = Jsonx.formatCaseClass[JobStatus] + implicit val jobStatusFormat: Format[JobStatus] = Jsonx.formatCaseClass[JobStatus] }