@@ -43,6 +43,7 @@ export class DownloadController extends BaseController {
@Query('skip') skip: number,
@Query('limit') limit: number
) {
+ if (this.ctx.user) filter.user = this.ctx.user._id;
const list = await this.service.query(filter, { skip, limit });
const data = [];
for (const i of list) {