mirror of https://github.com/Chocobozzz/PeerTube
Removed DuratonMax
parent
fddb02ea55
commit
43ee597b6c
|
@ -38,8 +38,6 @@ export class VideosModelListQueryBuilder extends AbstractVideoQueryBuilder {
|
||||||
const rows = await this.runQuery()
|
const rows = await this.runQuery()
|
||||||
|
|
||||||
|
|
||||||
console.log("🍙🍙🍙🍙", rows);
|
|
||||||
|
|
||||||
if (options.include & VideoInclude.FILES) {
|
if (options.include & VideoInclude.FILES) {
|
||||||
const videoIds = Array.from(new Set(rows.map(r => r.id)))
|
const videoIds = Array.from(new Set(rows.map(r => r.id)))
|
||||||
|
|
||||||
|
@ -61,8 +59,6 @@ export class VideosModelListQueryBuilder extends AbstractVideoQueryBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
let finalRes = this.videoModelBuilder.buildVideosFromRows({ rows, include: options.include })
|
let finalRes = this.videoModelBuilder.buildVideosFromRows({ rows, include: options.include })
|
||||||
|
|
||||||
console.log("🧀🧀🧀🧀🧀", finalRes);
|
|
||||||
return this.videoModelBuilder.buildVideosFromRows({ rows, include: options.include })
|
return this.videoModelBuilder.buildVideosFromRows({ rows, include: options.include })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue