Commit 121f9a72 authored by Frederik Wegner's avatar Frederik Wegner

Typo in comment

parent 1df6097a
Pipeline #1706 passed with stages
in 25 minutes and 12 seconds
......@@ -324,7 +324,7 @@ func (m *MySQLDuelQuery) Insert(challengerID, challengedID uint32) (*schemas.Due
return nil, ErrUserNotFound
}
queryCommonPools := "SELECT Q.user FROM (SELECT * FROM user_pool WHERE pool IN (SELECT pool FROM user_pool WHERE user=?)) AS Q"
// check if the other uses is in the list of users hat have a common pool
// check if the other user is in the list of users that have a common pool
resQueryCommonPools, errQueryCommonPools := db.Query(queryCommonPools, challengerID)
var uID uint32
found := false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment