mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: polish creator definition
This commit is contained in:
@ -670,7 +670,7 @@ func convertMemoToWebhookPayload(memo *v1pb.Memo) (*v1pb.WebhookRequestPayload,
|
||||
return nil, errors.Wrap(err, "invalid memo creator")
|
||||
}
|
||||
return &v1pb.WebhookRequestPayload{
|
||||
CreatorId: creatorID,
|
||||
Creator: fmt.Sprintf("%s%d", UserNamePrefix, creatorID),
|
||||
CreateTime: timestamppb.New(time.Now()),
|
||||
Memo: memo,
|
||||
}, nil
|
||||
|
Reference in New Issue
Block a user