}
return {
- url: comment.url,
+ url: comment.id,
text: comment.content,
videoId: video.id,
accountId: actor.Account.id,
const actor = await getOrCreateActorAndServerAndModel(actorUrl)
const comment = new VideoCommentModel({
- url: body.url,
+ url: body.id,
text: body.content,
videoId: null,
accountId: actor.Account.id,