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

Commit

Permalink
fix: error variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasfeijo committed Dec 26, 2023
1 parent 2456a20 commit 32de848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/rulesheets.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (rs rulesheets) Get(ctx context.Context, id string) (result *dtos.Rulesheet
if isSlug {
findResult, err2 := rs.repository.Find(ctx, map[string]interface{}{"slug": id}, nil)
if err2 != nil {
log.Errorf("Error on fetch rulesheet(get): %v", err)
log.Errorf("Error on fetch rulesheet(get): %v", err2)
return
}
if len(findResult) == 0 {
Expand Down

0 comments on commit 32de848

Please sign in to comment.