Syntax fix.
This commit is contained in:
parent
ce8b9b18d5
commit
70fa77dc9d
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def just_played(m) =
|
||||||
log = log(label="just_played")
|
log = log(label="just_played")
|
||||||
|
|
||||||
if m["req_id"] != "" then
|
if m["req_id"] != "" then
|
||||||
log("Letting server know we played request ID #{m["req_id"]} here: #{url_played}")
|
log('Letting server know we played request ID #{m["req_id"]} here: #{url_played}')
|
||||||
played_song = json_of(compact=true, [("song_request", int_of_string(m["req_id"]))])
|
played_song = json_of(compact=true, [("song_request", int_of_string(m["req_id"]))])
|
||||||
let (status, _, data) = http.post(headers=api_headers_played, data=played_song, url_played)
|
let (status, _, data) = http.post(headers=api_headers_played, data=played_song, url_played)
|
||||||
let (_, status_code, _) = status
|
let (_, status_code, _) = status
|
||||||
|
|
Loading…
Reference in a new issue