Skip to content

Commit

Permalink
fixing search by clan publicId
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostec committed May 15, 2018
1 parent aa90334 commit 29ce37e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/clan.go
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ func searchClanByID(db interfaces.MongoDB, gameID, term string) ([]Clan, error)
defer sess.Close()

res := mongoResult{}
if err := col.Find(bson.M{"publicID": term}).One(&res); err != nil {
if err := col.Find(bson.M{"publicId": term}).One(&res); err != nil {
return nil, err
}
clan := Clan{}
Expand Down
2 changes: 1 addition & 1 deletion util/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
package util

// VERSION identifies Khan's current version
var VERSION = "3.2.0"
var VERSION = "3.2.1"

0 comments on commit 29ce37e

Please sign in to comment.