fixed data bug in hypermedia

This commit is contained in:
mdipierro
2014-11-05 09:09:36 -06:00
parent 894babaed3
commit 67ba09af37

View File

@@ -276,6 +276,8 @@ class Collection(object):
table = db[tablename]
if 'json' in request.env.content_type:
data = request.post_vars.data
else:
data = request.post_vars
if request.get_vars or len(request.args)>1: # update
# ADD validate fields and return error
try: