From 027cf19d0f211fd8b57a129048c668f07c2bde39 Mon Sep 17 00:00:00 2001 From: Harvey Tindall <hrfee@protonmail.ch> Date: Mon, 22 Feb 2021 01:05:18 +0000 Subject: [PATCH] delete missing route bind --- router.go | 1 - 1 file changed, 1 deletion(-) diff --git a/router.go b/router.go index e531f42..14c0ff7 100644 --- a/router.go +++ b/router.go @@ -142,7 +142,6 @@ func (app *appContext) loadRoutes(router *gin.Engine) { api.GET(p+"/config/emails", app.GetEmails) api.GET(p+"/config/emails/:id", app.GetEmail) api.POST(p+"/config/emails/:id", app.SetEmail) - api.POST(p+"/config/emails/:id/test", app.GetTestEmail) api.POST(p+"/config/emails/:id/state/:state", app.SetEmailState) api.GET(p+"/config", app.GetConfig) api.POST(p+"/config", app.ModifyConfig)