Skip to content

Commit 0ad2d84

Browse files
committed
refactor: rename API endpoints for MongoDB builds for clarity
1 parent 4a4cde6 commit 0ad2d84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

biothings/hub/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,9 +1520,9 @@ def configure_api_endpoints(self):
15201520
if "validate_snapshots" in cmdnames:
15211521
self.api_endpoints["validate_snapshots"] = EndpointDefinition(name="validate_snapshots", method="post")
15221522
if "list_mongo_builds" in cmdnames:
1523-
self.api_endpoints["list_mongo_builds"] = EndpointDefinition(name="list_mongo_builds", method="get")
1523+
self.api_endpoints["mongo_builds"] = EndpointDefinition(name="list_mongo_builds", method="get")
15241524
if "delete_mongo_builds" in cmdnames:
1525-
self.api_endpoints["delete_mongo_builds"] = EndpointDefinition(
1525+
self.api_endpoints["mongo_builds/delete"] = EndpointDefinition(
15261526
name="delete_mongo_builds", method="put", force_bodyargs=True
15271527
)
15281528
if "sync" in cmdnames:

0 commit comments

Comments
 (0)