fixup! Add get_simple_data_table

Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
This commit is contained in:
Pierre-Emmanuel Jacquier
2019-11-15 12:16:26 +00:00
parent cd22d4b244
commit 37677d1ef9

View File

@@ -205,7 +205,7 @@ func (p *proxy) xtreamPlayerAPI(c *gin.Context, q url.Values) {
return
}
limit := 0
if len(q["limit"][0]) > 0 {
if len(q["limit"]) > 0 {
limit, err = strconv.Atoi(q["limit"][0])
if err != nil {
c.AbortWithError(http.StatusInternalServerError, err)