remove rows param from schedule api call

This commit is contained in:
Ben Harris 2021-07-25 16:25:25 -04:00
parent bde5977bc6
commit 55b4101efc
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ class Module(ModuleManager.BaseModule):
@utils.kwarg("help", "show who's up next to stream")
def upnext(self, event):
js = utils.http.request(
AZURACAST_API_BASE + "/station/1/schedule?rows=1"
AZURACAST_API_BASE + "/station/1/schedule"
).json()
if len(js) < 1:
event["stdout"].write("nothing scheduled")
@ -226,7 +226,7 @@ class Module(ModuleManager.BaseModule):
@utils.kwarg("help", "show who's up after the next to stream")
def upnextnext(self, event):
js = utils.http.request(
AZURACAST_API_BASE + "/station/1/schedule?rows=2"
AZURACAST_API_BASE + "/station/1/schedule"
).json()
if len(js) < 1:
event["stdout"].write("nothing scheduled")