Browse Source

867 fixed DB response

DB response object should contain
field "id" and not "_id".
James Yen 11 years ago
parent
commit
fc648b64ae
2 changed files with 2 additions and 2 deletions
  1. 1 1
      scruffy/install.sh
  2. 1 1
      scruffy/src/main/scala/scruffy/examples/Test2Endpoint.scala

+ 1 - 1
scruffy/install.sh

@@ -1,3 +1,3 @@
 #!/bin/bash
 
-fw_depends scala
+fw_depends java

+ 1 - 1
scruffy/src/main/scala/scruffy/examples/Test2Endpoint.scala

@@ -25,4 +25,4 @@ class Test2Endpoint(hostname: String) extends EndpointProvider {
   }
 }
 
-case class Output(_id: Int, randomNumber: Int)
+case class Output(id: Int, randomNumber: Int)