Corrected column name
This commit is contained in:
parent
7e31f4a3f9
commit
188e8ae17d
2
app.py
2
app.py
|
@ -128,7 +128,7 @@ if __name__ == '__main__' or 'uwsgi' in __name__:
|
|||
@cherrypy.expose
|
||||
def changeStatus(self, streamid, status):
|
||||
streamid = int(streamid)
|
||||
db.execute('UPDATE "streams" SET "status"=? WHERE "ud"=? ;', [status, streamid])
|
||||
db.execute('UPDATE "streams" SET "status"=? WHERE "id"=? ;', [status, streamid])
|
||||
return json.dumps({"result":True})
|
||||
|
||||
@cherrypy.expose
|
||||
|
|
Loading…
Reference in New Issue