Commit 53f1e7ad authored by Tom Käsler's avatar Tom Käsler

fix name for json protocl val for motd

parent c63ec762
package de.thm.arsnova.api
/**
* Created by tekay on 3/22/17.
*/
trait GlobalMotdApi {
}
......@@ -4,5 +4,5 @@ import de.thm.arsnova.models.GlobalMotd
import spray.json._
object GlobalMotdJsonProtocol extends DefaultJsonProtocol {
implicit val commentFormat: RootJsonFormat[GlobalMotd] = jsonFormat6(GlobalMotd)
implicit val globalMotdFormat: RootJsonFormat[GlobalMotd] = jsonFormat6(GlobalMotd)
}
......@@ -4,5 +4,5 @@ import de.thm.arsnova.models.SessionMotd
import spray.json._
object SessionMotdJsonProtocol extends DefaultJsonProtocol {
implicit val commentFormat: RootJsonFormat[SessionMotd] = jsonFormat6(SessionMotd)
implicit val sessionMotdFormat: RootJsonFormat[SessionMotd] = jsonFormat6(SessionMotd)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment