mirror of
https://github.com/marcus-alicia/iRedAdmin-Pro-SQL.git
synced 2026-05-26 07:08:10 +00:00
12 lines
275 B
Python
12 lines
275 B
Python
from controllers import decorators
|
|
from controllers.utils import api_render
|
|
|
|
from libs.f2b import log as f2b_log
|
|
|
|
|
|
class APIBannedCount:
|
|
@decorators.api_require_global_admin
|
|
def GET(self):
|
|
total = f2b_log.num_banned()
|
|
return api_render((True, total))
|