Add subcription feature 6
This commit is contained in:
@@ -163,7 +163,7 @@ class APIRateLimitMiddleware(BaseHTTPMiddleware):
|
||||
|
||||
async with httpx.AsyncClient(timeout=2.0) as client:
|
||||
response = await client.get(
|
||||
f"{settings.TENANT_SERVICE_URL}/api/v1/subscriptions/{tenant_id}/tier",
|
||||
f"{settings.TENANT_SERVICE_URL}/api/v1/tenants/{tenant_id}/subscription/tier",
|
||||
headers={
|
||||
"x-service": "gateway"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user