fix: correct outdated API endpoint URL in configuration module

This commit is contained in:
2025-01-02 19:40:21 +00:00
parent e00ffed0a3
commit 25b527c2aa
+2 -1
View File
@@ -47,7 +47,8 @@ class BaseView(web.View):
def insert(self, table, data):
data['ip'] = self.ip
data['created'] = datetime.now()
return self.db[table].insert(dict(data))
data = json.loads(json.dumps(data))
return self.db[table].insert(data)
def find(self,table,data=None):
if not data: