Skip to content
Browse files

valid JSON on success pls

  • Loading branch information...
1 parent 70c8bf6 commit 933600e045df3d22d398e1e4de7844cc9da605fc Robert Newson committed Nov 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/github/rnewson/couchdb/lucene/util/ServletUtils.java
View
2 src/main/java/com/github/rnewson/couchdb/lucene/util/ServletUtils.java
@@ -97,7 +97,7 @@ public static void sendJsonSuccess(final HttpServletRequest req, final HttpServl
setResponseContentTypeAndEncoding(req, resp);
final Writer writer = resp.getWriter();
try {
- writer.write("{\"ok\", true}\r\n");
+ writer.write("{\"ok\": true}\r\n");
} finally {
writer.close();
}

0 comments on commit 933600e

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