From 75498820446191fccd109ebe4c815b4f6ba91628 Mon Sep 17 00:00:00 2001 From: Prateek Sachan Date: Wed, 18 Mar 2020 17:20:51 +0530 Subject: [PATCH] Removed account endpoint added by mistake --- clientapi/routing/routing.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go index 3caf75efc..47b7b2675 100644 --- a/clientapi/routing/routing.go +++ b/clientapi/routing/routing.go @@ -361,12 +361,6 @@ func Setup( }), ).Methods(http.MethodGet, http.MethodOptions) - r0mux.Handle("/account/deactivate", - common.MakeAuthAPI("account_deactivate", authData, func(req *http.Request, device *authtypes.Device) util.JSONResponse { - return GetAssociated3PIDs(req, accountDB, device) - }), - ).Methods(http.MethodPost, http.MethodOptions) - r0mux.Handle("/account/3pid", common.MakeAuthAPI("account_3pid", authData, func(req *http.Request, device *authtypes.Device) util.JSONResponse { return CheckAndSave3PIDAssociation(req, accountDB, device, cfg)