Ver Fonte

Type in route desc fixed

Hal De há 4 anos atrás
pai
commit
3cd73a233b
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      app/app.py

+ 3 - 2
app/app.py

@@ -113,7 +113,8 @@ app.asgi_app = AuthMiddleware(app.asgi_app)
 db = PintDB(app)
 
 @manager.register_event('FullyBooted')
-async def fullyBootedCallback(mngr: Manager, msg: Message):
+@manager.register_event('Reload')
+async def reloadCallback(mngr: Manager, msg: Message):
   await refreshDevicesCache()
   await refreshStatesCache()
   await refreshQueuesCache()
@@ -796,7 +797,7 @@ class CEL(Resource):
   @app.response(HTTPStatus.OK, 'JSON reply')
   @app.response(HTTPStatus.UNAUTHORIZED, 'Authorization required')
   async def get(self):
-    '''Returns CDR data, groupped by logical call id.
+    '''Returns CEL data, groupped by logical call id.
     All request arguments are optional.
     '''
     start = parseDatetime(request.args.get('start'))