|
|
@@ -1031,7 +1031,7 @@ class DeviceCallback(Resource):
|
|
|
@app.param('url', 'Callback url', 'query')
|
|
|
@app.response(HTTPStatus.OK, 'JSON data {"user":user,"state":state}')
|
|
|
@app.response(HTTPStatus.UNAUTHORIZED, 'Authorization required')
|
|
|
- async def get(self, device, url):
|
|
|
+ async def get(self, device):
|
|
|
'''Returns device's callback url.
|
|
|
'''
|
|
|
if (device != request.device) and (not request.admin):
|