Skip to content
Browse files

Made GString better readable

  • Loading branch information...
1 parent 44e2227 commit c37878ad4c628a2fce4af12111f0cc4505178857 @jettro committed Oct 26, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 office-events/mods/website/BasicHttpServer.groovy
View
3 office-events/mods/website/BasicHttpServer.groovy
@@ -25,12 +25,11 @@ routeMatcher.get("/") {req ->
routeMatcher.post("/rest") {req ->
req.bodyHandler { body ->
-// def notification =["message":body.toString()]
eventBus.send("notification.received", body.toString())
}
req.response.putHeader("Content-Type", "application/json")
- req.response.end("{\"status\":\"RECEIVED\"}")
+ req.response.end('{"status":"RECEIVED"}')
}

0 comments on commit c37878a

Please sign in to comment.
Something went wrong with that request. Please try again.