fix: correct the API endpoint URL in the configuration file

This commit is contained in:
retoor 2025-01-02 19:46:33 +00:00
parent 0526102ed1
commit 154e7efffd

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)