Browse Source

remove debugu

Namdak Tonpa 5 years ago
parent
commit
0b371b9879
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/rest_kvs.erl

+ 0 - 1
src/rest_kvs.erl

@@ -63,7 +63,6 @@ to_json(#{bindings := #{resource := Module, id := Id}} = Req, State) ->
     {iolist_to_binary(?REST_JSON:encode(Type:to_json(Resource))), Req, State};
 to_json(#{bindings := #{resource := Module}} = Req, State) ->
     Fold = [ begin M = element(1,Resource), M:to_json(Resource) end || Resource <- kvs:all(c(Module))],
-    io:format("DEBUG: ~p",[{Module,Fold}]),
     {iolist_to_binary(?REST_JSON:encode([{Module,Fold}])), Req, State}.
 
 content_types_accepted(Req, State) ->