Skip to content

Commit

Permalink
v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteStash authored Jan 29, 2022
2 parents d3a657d + 8a00a8a commit 1624b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sqlx/querybuilder_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (qb *tagQueryBuilder) FindByNameOrAlias(name string) (*models.Tag, error) {
ORDER BY T.deleted ASC
`

args := []interface{}{name, name}
args := []interface{}{name}
results, err := qb.queryTags(query, args)
if err != nil || len(results) < 1 {
return nil, err
Expand Down

0 comments on commit 1624b71

Please sign in to comment.