Fixed build

This commit is contained in:
Deluan
2016-10-03 23:04:08 -04:00
parent 4e6cd7e05d
commit bbb3e26600
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ func (c *MediaAnnotationController) Scrobble() {
ids := c.RequiredParamStrings("id", "Required id parameter is missing")
times := c.ParamTimes("time")
if len(times) > 0 && len(times) != len(ids) {
c.SendError(responses.ErrorGeneric, fmt.Sprintf("Wrong number of timestamps: %d", len(times)))
c.SendError(responses.ErrorGeneric, "Wrong number of timestamps: %d", len(times))
}
submission := c.ParamBool("submission", true)
playerId := 1 // TODO Multiple players, based on playerName/username/clientIP(?)