changeset 29:0b9f8cca6744

changed fields parameter
author casties
date Mon, 30 Aug 2010 11:54:54 +0200
parents 9e4f9cfd1edc
children 51db9e78bf98
files RestDbInterface.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbInterface.py	Fri Aug 27 19:19:38 2010 +0200
+++ b/RestDbInterface.py	Mon Aug 30 11:54:54 2010 +0200
@@ -228,7 +228,7 @@
                 RESPONSE.setStatus(400)
                 return
 
-            fields = REQUEST.get("fields",None)
+            fields = REQUEST.get("create_table_fields",None)
             logging.debug("put with schema=%s table=%s file=%s fields=%s"%(schema,tablename,file,repr(fields)))
             ret = self.createTableFromXML(schema, tablename, file, fields)
             # return the result as JSON