From decefbf168aea5e68322ffe7b8ca71eef04410b9 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Wed, 28 May 2014 13:54:02 -0400 Subject: [PATCH] Switch the seat count for the superuser API to the real value from the license. --- endpoints/api/superuser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/api/superuser.py b/endpoints/api/superuser.py index 2688f6945..3ade5f1ed 100644 --- a/endpoints/api/superuser.py +++ b/endpoints/api/superuser.py @@ -54,7 +54,7 @@ class SeatUsage(ApiResource): if SuperUserPermission().can(): return { 'count': model.get_active_user_count(), - 'allowed': app.config.get('LICENSE_SEAT_COUNT', 0) + 'allowed': app.config.get('LICENSE_USER_LIMIT', 0) } abort(403)