fix: model fields are unconsistent with the data queried from the database (#1179)

fix function createActivity typo
This commit is contained in:
仝华帅
2023-02-27 19:50:51 +08:00
committed by GitHub
parent 7b7061846c
commit d43b806c5e

View File

@@ -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)