diff --git a/nlds/main.py b/nlds/main.py index 76892e6a..8d26579e 100644 --- a/nlds/main.py +++ b/nlds/main.py @@ -32,6 +32,11 @@ tags = ["find",], prefix = PREFIX + "/catalog/find" ) +nlds.include_router( + quota.router, + tags = ["quota", ], + prefix = PREFIX + "/catalog/quota" +) nlds.include_router( status.router, tags = ["status",], @@ -57,8 +62,3 @@ tags = ["init", ], prefix = PREFIX + "/init" ) -nlds.include_router( - quota.router, - tags = ["quota", ], - prefix = PREFIX + "/quota" -) \ No newline at end of file diff --git a/nlds/routers/quota.py b/nlds/routers/quota.py index ad292562..3f4eb35c 100644 --- a/nlds/routers/quota.py +++ b/nlds/routers/quota.py @@ -54,6 +54,7 @@ async def get(token: str = Depends(authenticate_token), RMQP.MSG_USER: user, RMQP.MSG_GROUP: group, RMQP.MSG_TOKEN: token, + RMQP.MSG_API_ACTION: api_action }, RMQP.MSG_DATA: {}, RMQP.MSG_TYPE: RMQP.MSG_TYPE_STANDARD