fix(monitors): add back the monitors get route

This commit is contained in:
Tine 2024-04-30 20:05:08 +02:00
parent 4255c3b69d
commit 7335b7b4a2
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -63,6 +63,7 @@ func Routes(
settings.GET("/triggers/:id/disable", h.SettingsTriggersDisableGET) settings.GET("/triggers/:id/disable", h.SettingsTriggersDisableGET)
settings.GET("/triggers/:id/enable", h.SettingsTriggersEnableGET) settings.GET("/triggers/:id/enable", h.SettingsTriggersEnableGET)
settings.GET("/monitors", h.SettingsMonitorsGET)
settings.GET("/monitors/create", h.SettingsMonitorsCreateGET) settings.GET("/monitors/create", h.SettingsMonitorsCreateGET)
settings.POST("/monitors/create", h.SettingsMonitorsCreatePOST) settings.POST("/monitors/create", h.SettingsMonitorsCreatePOST)
settings.GET("/monitors/:id", h.SettingsMonitorsDescribeGET) settings.GET("/monitors/:id", h.SettingsMonitorsDescribeGET)