chore: polish creator definition

This commit is contained in:
Steven
2025-01-10 23:39:50 +08:00
parent 8b7e9f5443
commit 5ff8ab9a61
9 changed files with 234 additions and 210 deletions

View File

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