From 26f20d5139393de51081f826e9e26cbb0d0b82ec Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 21 Feb 2022 15:06:43 +0000 Subject: [PATCH] Move `/notifications` onto `r0`/`v3` mux --- clientapi/routing/routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go index ea1e368eb..d22fbd809 100644 --- a/clientapi/routing/routing.go +++ b/clientapi/routing/routing.go @@ -1001,7 +1001,7 @@ func Setup( }), ).Methods(http.MethodPost, http.MethodOptions) - unstableMux.Handle("/notifications", + v3mux.Handle("/notifications", httputil.MakeAuthAPI("get_notifications", userAPI, func(req *http.Request, device *userapi.Device) util.JSONResponse { return GetNotifications(req, device, userAPI) }),