mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Fix typo
This commit is contained in:
parent
66885fedaa
commit
4c3063cadf
@ -58,7 +58,7 @@ def package(package):
|
||||
def package_dependencies(package):
|
||||
ret = []
|
||||
|
||||
only_hard = request.args.get("only_hard", True)
|
||||
only_hard = request.args.get("only_hard")
|
||||
|
||||
for dep in package.dependencies:
|
||||
if only_hard and dep.optional:
|
||||
|
@ -25,7 +25,7 @@ Tokens can be attained by visiting [Profile > "API Tokens"](/user/tokens/).
|
||||
* GET `/api/packages/` - See [Package Queries](#package-queries)
|
||||
* GET `/api/scores/` - See [Package Queries](#package-queries)
|
||||
* GET `/api/packages/<username>/<name>/`
|
||||
* GET `/api/packages/<username>/<name>/`
|
||||
* GET `/api/packages/<username>/<name>/dependencies/`
|
||||
* If query argument `only_hard` is present, only hard deps will be returned.
|
||||
|
||||
### Releases
|
||||
|
Loading…
Reference in New Issue
Block a user