Browse files

result is the track, and in an arry

  • Loading branch information...
1 parent 35a7432 commit 0060d3179c02286ae972579a9aabd78cc9f522af @comotion committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/hangover.lua
View
2 web/hangover.lua
@@ -133,7 +133,7 @@ function get_track(web,...)
local id = ...
local track = tracks:get(id)
local fields = u.keys(track)
- return json.encode{fields=fields,track=track}
+ return json.encode{{fields=fields,result=track}}
end

0 comments on commit 0060d31

Please sign in to comment.