Explorar o código

callback template implementaion

Hal De %!s(int64=4) %!d(string=hai) anos
pai
achega
a2561e9951
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -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):