Permalink
Browse files

remove dreg

  • Loading branch information...
1 parent a0ea30e commit 52fffc15c008e9c8d342f92c0080b1a6d76c93c2 @masiulaniec masiulaniec committed Oct 30, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −3 neo4j.go
View
@@ -626,9 +626,6 @@ func (this *Neo4j) send(url string, data string) (string, os.Error) {
)
case "put":
body := strings.NewReader(data)
- if err != nil {
- return "", os.NewError("Unable to Marshal Json data")
- }
req, e := http.NewRequest("PUT", url, body)
if e != nil {
err = e

0 comments on commit 52fffc1

Please sign in to comment.