Updated url.

This commit is contained in:
retoor 2025-01-02 20:44:01 +01:00
parent 9bc1e0c6b1
commit 878f19ce26

View File

@ -47,7 +47,7 @@ class BaseView(web.View):
def insert(self, table, data): def insert(self, table, data):
data['ip'] = self.ip data['ip'] = self.ip
data['created'] = str(datetime.now()) data['created'] = str(datetime.now())
data = json.loads(json.dumps(data,default=str)) #data = json.loads(json.dumps(data,default=str))
return self.db[table].insert(data) return self.db[table].insert(data)
def find(self,table,data=None): def find(self,table,data=None):