Add API channel deletion endpoint
This commit is contained in:
@@ -48,6 +48,7 @@ from core.views.manage.threshold.irc import (
|
||||
ThresholdIRCOverviewAlerts,
|
||||
ThresholdIRCSendMessage,
|
||||
ThresholdIRCStats,
|
||||
ThresholdIRCNetworkChannelsAPI,
|
||||
)
|
||||
|
||||
# Management stuff
|
||||
@@ -199,6 +200,11 @@ urlpatterns = [
|
||||
ThresholdIRCNetworkChannels.as_view(),
|
||||
name="threshold_irc_network_channels",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/channel/json/",
|
||||
ThresholdIRCNetworkChannelsAPI.as_view(),
|
||||
name="threshold_irc_network_channel_json",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/channel/<channel>/",
|
||||
ThresholdIRCNetworkChannels.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user