mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-27 04:19:58 +01:00
Removed 'submit' parameter
This commit is contained in:
parent
4748ce142f
commit
f6866f23a0
3 changed files with 7 additions and 9 deletions
|
|
@ -24,7 +24,7 @@ func (c *MediaAnnotationController) Scrobble() {
|
|||
time := c.ParamTime("time", time.Now())
|
||||
submission := c.ParamBool("submission", false)
|
||||
if submission {
|
||||
mf, err := c.scrobbler.Register(id, time, true)
|
||||
mf, err := c.scrobbler.Register(id, time)
|
||||
if err != nil {
|
||||
beego.Error("Error scrobbling:", err)
|
||||
c.SendError(responses.ERROR_GENERIC, "Internal error")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue