mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 23:22:47 +08:00
fix: model fields are unconsistent with the data queried from the database (#1179)
fix function createActivity typo
This commit is contained in:
parent
7b7061846c
commit
d43b806c5e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue