Skip to content

Commit 24455e4

Browse files
committed
fix a bug in deleting quotas
1 parent d45d6d6 commit 24455e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ by submitting a [PyNN](http://neuralensemble.org/docs/PyNN/) script
77
and associated job configuration information to a central queue.
88

99
The service consists of:
10-
- a [web API](https://nmpi-v3-staging.hbpneuromorphic.eu/docs) (this repository)
10+
- a [web API](https://nmpi-v3.hbpneuromorphic.eu/docs) (this repository)
1111
- a GUI client (the [Job Manager app](https://job-manager.hbpneuromorphic.eu/); https://github.com/HumanBrainProject/nmpi-job-manager-app)
1212
- a [Python/command-line client](https://github.com/HumanBrainProject/hbp-neuromorphic-client).
1313

api/simqueue/resources/for_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ async def delete_quota(
860860
detail="There is no quota with this id",
861861
)
862862

863-
await db.delete_quota(project_id, id)
863+
await db.delete_quota(quota_id)
864864

865865

866866
@router.post("/projects/", status_code=status_codes.HTTP_201_CREATED)

0 commit comments

Comments
 (0)