Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
devkcud committed Nov 22, 2024
2 parents bfbd447 + 1d92465 commit 5e5f065
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/service/repository/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,6 @@ func (cr *componentRepository) ClearTrash(userID uint) error {
tx := cr.db.Begin()

if err := tx.Unscoped().
Where("deleted_at IS NOT NULL").
Where(`
EXISTS (
SELECT 1
Expand All @@ -734,7 +733,6 @@ func (cr *componentRepository) ClearTrash(userID uint) error {
}

if err := tx.Unscoped().
Where("deleted_at IS NOT NULL").
Where(`
EXISTS (
SELECT 1
Expand All @@ -749,7 +747,6 @@ func (cr *componentRepository) ClearTrash(userID uint) error {
}

if err := tx.Unscoped().
Where("deleted_at IS NOT NULL").
Where(`
EXISTS (
SELECT 1
Expand Down

0 comments on commit 5e5f065

Please sign in to comment.