Updated url.

This commit is contained in:
retoor 2025-01-02 20:34:41 +01:00
parent 66c45c45ba
commit a11a57cbbf

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'] = datetime.now() data['created'] = datetime.now()
return self.db[table].insert(**data) return self.db[table].insert(dict(data))
def find(self,table,data=None): def find(self,table,data=None):
if not data: if not data: