소스 검색

Type in route desc fixed

Hal De 4 년 전
부모
커밋
3cd73a233b
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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'))