Skip to content

Commit

Permalink
refactor: remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Luthfi Fahlevi committed Aug 22, 2024
1 parent 8c655b2 commit 7b4254a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/store/postgres/asset_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,8 @@ func (r *AssetRepository) DeleteByQueryExpr(ctx context.Context, queryExpr query
}

urns, err = r.deleteByQueryAndReturnURNS(ctx, query)
if err != nil {
return err
}

return nil
return err
})

return urns, err
Expand Down

0 comments on commit 7b4254a

Please sign in to comment.