mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Move deleted comment on new follow tests
This commit is contained in:
parent
b5206dfc45
commit
c883db6d03
6 changed files with 124 additions and 92 deletions
|
@ -141,7 +141,10 @@ async function resolveParentComment (params: ResolveThreadParams) {
|
|||
throw new Error(`Comment url ${url} host is different from the AP object id ${body.id}`)
|
||||
}
|
||||
|
||||
const actor = actorUrl ? await getOrCreateActorAndServerAndModel(actorUrl, 'all') : null
|
||||
const actor = actorUrl
|
||||
? await getOrCreateActorAndServerAndModel(actorUrl, 'all')
|
||||
: null
|
||||
|
||||
const comment = new VideoCommentModel({
|
||||
url: body.id,
|
||||
text: body.content ? body.content : '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue