优化资源删除处理

This commit is contained in:
2025-05-07 18:21:50 +08:00
parent 3b2f4f1f40
commit 9e09a7bc72
2 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ export class ResourceService {
async findAll(): Promise<Resource[]> {
return this.resourceRepository.find({
where: { isHidden: false },
where: { deletedAt: null },
order: {
createdAt: 'DESC',
}