Add Insights permission and remove useless APIs

This commit is contained in:
2022-08-26 07:20:30 +01:00
parent 0e7fb8d261
commit c748745426
4 changed files with 25 additions and 30 deletions

View File

@@ -20,7 +20,6 @@ from django.urls import include, path
from django.views.generic import TemplateView
# Threshold API stuff
from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdUsers
from core.views import About, Billing, Cancel, Order, Portal, Signup
from core.views.callbacks import Callback
from core.views.manage.threshold.irc import (
@@ -258,7 +257,4 @@ urlpatterns = [
name="threshold_irc_msg",
),
##
path("api/chans/", ThresholdChans.as_view(), name="chans"),
path("api/users/", ThresholdUsers.as_view(), name="users"),
path("api/online/", ThresholdOnline.as_view(), name="online"),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)