From 10cbce5dca431acb43b560624061cca2270f094f Mon Sep 17 00:00:00 2001 From: Deluan Date: Thu, 17 Mar 2016 19:00:31 -0400 Subject: [PATCH] Fixed build --- api/media_annotation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/media_annotation.go b/api/media_annotation.go index 30ce899e..7c94ee5f 100644 --- a/api/media_annotation.go +++ b/api/media_annotation.go @@ -29,7 +29,7 @@ func (c *MediaAnnotationController) Scrobble() { username := c.ParamString("u") skip, err := c.scrobbler.DetectSkipped(playerId, id, submission) - if err { + if err != nil { beego.Error("Error detecting skip:", err) } if skip {