remove rows param from schedule api call
This commit is contained in:
parent
bde5977bc6
commit
55b4101efc
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue