Compare commits
No commits in common. "a963f93d524f09046fa3c259ccc610a89dd043e0" and "58812c787f38257d8fca238b51ed4fd12d237361" have entirely different histories.
a963f93d52
...
58812c787f
3
ext.py
3
ext.py
|
@ -177,8 +177,7 @@ class Quotas:
|
|||
def get_left(self, capacity):
|
||||
for quota in self.data['results']:
|
||||
if quota['id'] == ROOM_MAP[capacity]:
|
||||
return quota['available_number']
|
||||
return 0
|
||||
return quota['available_number']
|
||||
|
||||
async def get_quotas(request: Request=None):
|
||||
async with httpx.AsyncClient() as client:
|
||||
|
|
|
@ -3,4 +3,3 @@ sanic-ext
|
|||
httpx
|
||||
Pillow
|
||||
aztec_code_generator
|
||||
jinja2
|
||||
|
|
Loading…
Reference in New Issue