From 3f2af06caa9597f0e7673afbccf9d39e222165f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Thu, 30 May 2024 18:07:06 +0900 Subject: [PATCH] fix(cybercat): insert --- plugin/cybercat/catdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/cybercat/catdata.go b/plugin/cybercat/catdata.go index 4aa12cf..77e2d23 100644 --- a/plugin/cybercat/catdata.go +++ b/plugin/cybercat/catdata.go @@ -156,7 +156,7 @@ func (sql *catdb) insert(gid string, dbInfo *catInfo) error { if err != nil { return err } - return sql.db.Insert(gid, &dbInfo) + return sql.db.Insert(gid, dbInfo) } func (sql *catdb) find(gid, uid string) (dbInfo catInfo, err error) {