From 52c9cf5bcf49623b4e42b257802b8b50f81c8123 Mon Sep 17 00:00:00 2001 From: retoor Date: Thu, 2 Jan 2025 19:32:44 +0000 Subject: [PATCH] fix: correct URL in configuration to point to production API endpoint --- src/metriki/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metriki/app.py b/src/metriki/app.py index f66eb51..0f28665 100644 --- a/src/metriki/app.py +++ b/src/metriki/app.py @@ -47,7 +47,7 @@ class BaseView(web.View): def insert(self, table, data): data['ip'] = self.ip data['created'] = datetime.now() - return self.db[table].insert(data) + return self.db[table].insert(**data) def find(self,table,data=None): if not data: