Skip to content

Commit d0107ad

Browse files
fix naming
1 parent e6c8d5c commit d0107ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/specs/web-server/_license_goods.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"/license-goods",
3737
response_model=Envelope[list[LicenseGoodGet]],
3838
)
39-
async def list_workspaces(
39+
async def list_license_goods(
4040
_query: Annotated[as_query(LicenseGoodsListQueryParams), Depends()],
4141
):
4242
...
@@ -46,14 +46,14 @@ async def list_workspaces(
4646
"/license-goods/{license_good_id}",
4747
response_model=Envelope[LicenseGoodGet],
4848
)
49-
async def get_workspace(
49+
async def get_license_good(
5050
_path: Annotated[LicenseGoodsPathParams, Depends()],
5151
):
5252
...
5353

5454

5555
@router.post("/license-goods/{license_good_id}", status_code=status.HTTP_204_NO_CONTENT)
56-
async def create_workspace_group(
56+
async def purchase_license_good(
5757
_path: Annotated[LicenseGoodsPathParams, Depends()],
5858
_body: LicenseGoodsBodyParams,
5959
):

0 commit comments

Comments
 (0)