Skip to content

Commit

Permalink
improve seo
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Feb 4, 2024
1 parent a6f5bde commit 14eff2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/sql/tournament.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (db *sqlImpl) GetTournament(id string) (tournament Tournament, err error) {
}

func (db *sqlImpl) GetTournamentByArgs(startTime int, division int, name string) (tournament Tournament, err error) {
err = db.db.Get(&tournament, "SELECT * FROM tournament WHERE start_time=$1 AND division=$2 AND name=$name", startTime, division, name)
err = db.db.Get(&tournament, "SELECT * FROM tournament WHERE start_time=$1 AND division=$2 AND name=$3", startTime, division, name)
return tournament, err
}

Expand Down

0 comments on commit 14eff2a

Please sign in to comment.