Atualli commited on
Commit
f5a2840
1 Parent(s): 490b2ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,8 +69,8 @@ def autentica():
69
  @ app.route('/getdatamosaico', methods=['GET'])
70
  def getdatamosaico():
71
  cliente = request.args.get('cliente')
72
- passw = request.args.get('passw')
73
- newurl = 'http://painel.atualli.com/getdatamosaico?cliente='+cliente
74
  res = requests.get(newurl)
75
 
76
  response = Response(res.content, res.status_code, res.headers)
 
69
  @ app.route('/getdatamosaico', methods=['GET'])
70
  def getdatamosaico():
71
  cliente = request.args.get('cliente')
72
+ operador = request.args.get('operador')
73
+ newurl = 'http://painel.atualli.com/getdatamosaico?cliente='+cliente+"&operador="+operador
74
  res = requests.get(newurl)
75
 
76
  response = Response(res.content, res.status_code, res.headers)