Updated url.

This commit is contained in:
retoor 2025-01-02 20:46:33 +01:00
parent 878f19ce26
commit 5434a4e9bc

View File

@ -47,6 +47,8 @@ class BaseView(web.View):
def insert(self, table, data):
data['ip'] = self.ip
data['created'] = str(datetime.now())
for key,value in data.items():
data[key] = str(value)
#data = json.loads(json.dumps(data,default=str))
return self.db[table].insert(data)