Sfoglia il codice sorgente

callback template implementaion

Hal De 4 anni fa
parent
commit
a2561e9951
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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):