Skip to content

Commit

Permalink
Remove deletions of assetKindItems and assetFormatItem
Browse files Browse the repository at this point in the history
  • Loading branch information
TIL-EBP committed Nov 19, 2024
1 parent bcc0c58 commit de4bf44
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions apps/server-asset-sg/src/features/asset-edit/asset-edit.repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,18 +284,6 @@ export class AssetEditRepo implements Repo<AssetEditDetail, number, AssetEditDat
Asset: { none: {} },
},
});

await this.prismaService.assetFormatItem.deleteMany({
where: {
assets: { none: {} },
},
});

await this.prismaService.assetKindItem.deleteMany({
where: {
assets: { none: {} },
},
});
});
return true;
} catch (e) {
Expand Down

0 comments on commit de4bf44

Please sign in to comment.