From 24d8df664c21fa8bd68d80b5585a496e264c410a Mon Sep 17 00:00:00 2001 From: Kegsay Date: Thu, 21 May 2020 14:40:13 +0100 Subject: Fix #897 and shuffle directory around (#1054) * Fix #897 and shuffle directory around * Update find-lint * goimports Co-authored-by: Neil Alexander --- keyserver/routing/routing.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'keyserver/routing/routing.go') diff --git a/keyserver/routing/routing.go b/keyserver/routing/routing.go index d79ce6d4..3ca68ade 100644 --- a/keyserver/routing/routing.go +++ b/keyserver/routing/routing.go @@ -22,8 +22,8 @@ import ( "github.com/matrix-org/dendrite/clientapi/auth/authtypes" "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts" "github.com/matrix-org/dendrite/clientapi/auth/storage/devices" - "github.com/matrix-org/dendrite/common" - "github.com/matrix-org/dendrite/common/config" + "github.com/matrix-org/dendrite/internal" + "github.com/matrix-org/dendrite/internal/config" "github.com/matrix-org/util" ) @@ -49,7 +49,7 @@ func Setup( } r0mux.Handle("/keys/query", - common.MakeAuthAPI("queryKeys", authData, func(req *http.Request, device *authtypes.Device) util.JSONResponse { + internal.MakeAuthAPI("queryKeys", authData, func(req *http.Request, device *authtypes.Device) util.JSONResponse { return QueryKeys(req) }), ).Methods(http.MethodPost, http.MethodOptions) -- cgit v1.2.3