Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyKomarovCoder committed Nov 13, 2023
1 parent 614a89f commit 3e85f12
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (r *Repository) UpdateTag(ctx context.Context, tag *models.Category) error
} else if err != nil {
return fmt.Errorf("[repo] failed request db %s, %w", CategoryGet, err)
} */

var err error
if tag.ParentID == uuid.Nil {
_, err = r.db.Exec(ctx, CategoryUpdate,
Expand Down

0 comments on commit 3e85f12

Please sign in to comment.