From d43b806c5ed07082ecfab24392bf675f81a81b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=9D=E5=8D=8E=E5=B8=85?= Date: Mon, 27 Feb 2023 19:50:51 +0800 Subject: [PATCH] fix: model fields are unconsistent with the data queried from the database (#1179) fix function createActivity typo --- store/activity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/activity.go b/store/activity.go index caae9cb2..badf1a96 100644 --- a/store/activity.go +++ b/store/activity.go @@ -79,7 +79,7 @@ func createActivity(ctx context.Context, tx *sql.Tx, create *api.ActivityCreate) &activityRaw.Type, &activityRaw.Level, &activityRaw.Payload, - &activityRaw.CreatedTs, + &activityRaw.CreatorID, &activityRaw.CreatedTs, ); err != nil { return nil, FormatError(err)