Skip to content

Commit

Permalink
Edit path to quotas endpoint to be /catalog/quota
Browse files Browse the repository at this point in the history
  • Loading branch information
nf679 committed Oct 9, 2024
1 parent 8bb1efd commit 2db7bbf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nlds/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",],
Expand All @@ -57,8 +62,3 @@
tags = ["init", ],
prefix = PREFIX + "/init"
)
nlds.include_router(
quota.router,
tags = ["quota", ],
prefix = PREFIX + "/quota"
)
1 change: 1 addition & 0 deletions nlds/routers/quota.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2db7bbf

Please sign in to comment.