Compare commits
2 Commits
58812c787f
...
a963f93d52
Author | SHA1 | Date |
---|---|---|
Ed | a963f93d52 | |
Ed | fec10740a4 |
3
ext.py
3
ext.py
|
@ -177,7 +177,8 @@ class Quotas:
|
|||
def get_left(self, capacity):
|
||||
for quota in self.data['results']:
|
||||
if quota['id'] == ROOM_MAP[capacity]:
|
||||
return quota['available_number']
|
||||
return quota['available_number']
|
||||
return 0
|
||||
|
||||
async def get_quotas(request: Request=None):
|
||||
async with httpx.AsyncClient() as client:
|
||||
|
|
|
@ -3,3 +3,4 @@ sanic-ext
|
|||
httpx
|
||||
Pillow
|
||||
aztec_code_generator
|
||||
jinja2
|
||||
|
|
Loading…
Reference in New Issue