From b380542292ca455eba99ff9f4a3ec530cc288dd2 Mon Sep 17 00:00:00 2001 From: Paul Sarando Date: Wed, 6 Dec 2023 17:03:14 -0700 Subject: [PATCH] Fix ring dev-handler Made it compatible with changes added in b662339 --- src/terrain/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terrain/core.clj b/src/terrain/core.clj index 3cbf07d8..d418d63b 100644 --- a/src/terrain/core.clj +++ b/src/terrain/core.clj @@ -89,7 +89,7 @@ [req] (tc/with-logging-context svc-info (require 'terrain.routes) - ((eval 'terrain.routes/app-wrapper) req))) + ((wrap-fake-user (eval 'terrain.routes/app-wrapper) (System/getenv "CYVERSE_USERNAME")) req))) ;; terrain.routes MUST be required and eval'd here or the configuration won't yet be loaded (defn run-jetty