mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: model fields are unconsistent with the data queried from the database (#1179)
fix function createActivity typo
This commit is contained in:
@@ -79,7 +79,7 @@ func createActivity(ctx context.Context, tx *sql.Tx, create *api.ActivityCreate)
|
|||||||
&activityRaw.Type,
|
&activityRaw.Type,
|
||||||
&activityRaw.Level,
|
&activityRaw.Level,
|
||||||
&activityRaw.Payload,
|
&activityRaw.Payload,
|
||||||
&activityRaw.CreatedTs,
|
&activityRaw.CreatorID,
|
||||||
&activityRaw.CreatedTs,
|
&activityRaw.CreatedTs,
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return nil, FormatError(err)
|
return nil, FormatError(err)
|
||||||
|
Reference in New Issue
Block a user