forked from MarseyWorld/MarseyWorld
allow me to add channels
parent
4ebd8fb552
commit
f8fccd34db
|
@ -539,7 +539,7 @@ if SITE == 'pcmemes.net':
|
||||||
@app.post('/live/add')
|
@app.post('/live/add')
|
||||||
@admin_level_required(2)
|
@admin_level_required(2)
|
||||||
def live_add(v):
|
def live_add(v):
|
||||||
if v.id != KIPPY_ID:
|
if v.id not in (AEVANN_ID, KIPPY_ID):
|
||||||
return {"error": 'Only Kippy can add channels!'}, 403
|
return {"error": 'Only Kippy can add channels!'}, 403
|
||||||
|
|
||||||
id = request.values.get('id').strip()
|
id = request.values.get('id').strip()
|
||||||
|
|
Loading…
Reference in New Issue