Commit db98cdaf authored by Kegan's avatar Kegan
Browse files

fixed bug in getserver

parent cadee34c
......@@ -345,7 +345,7 @@ func (c *Client) GetServer(w http.ResponseWriter, r *http.Request) {
svr, err := c.Db.GetMatchByID(req.ServerId)
svr, err := c.Db.GetServerByID(req.ServerId)
if err != nil {
c.Log.Errorln("Server id not found", err)
json.NewEncoder(w).Encode(buildErrorResponse("invalid request"))
Supports Markdown
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