From 0c81519d4ef3d8c288aaf401913f1acfc97707e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Ri=C3=9Fe?= Date: Tue, 30 Apr 2024 11:25:16 +0200 Subject: [PATCH] Adapt patch to upstream changes The "context_service" import was changed to use the default name of just "context". The patch set had to be adapted for that. --- routers/web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/web.go b/routers/web/web.go index 4480be4498..4cf4086aba 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -1646,7 +1646,7 @@ func registerRoutes(m *web.Route) { // for git-annex m.Methods("GET,OPTIONS", "/config", repo.GetTextFile("config")) // needed by clients reading annex.uuid during `git annex initremote` m.Methods("GET,OPTIONS", "/annex/objects/{hash1}/{hash2}/{keyDir}/{key}", repo.GetAnnexObject) - }, ignSignInAndCsrf, annexEnabled, context_service.UserAssignmentWeb()) + }, ignSignInAndCsrf, annexEnabled, context.UserAssignmentWeb()) gitHTTPRouters(m) })