From 6d19cc74cde1422ee70c6d46e47b858bded9803c Mon Sep 17 00:00:00 2001 From: Travis Downs Date: Tue, 19 May 2026 11:09:04 -0400 Subject: [PATCH] http/routes: replace deprecated done() with set_content_type() --- src/http/routes.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/routes.cc b/src/http/routes.cc index 618c4656b31..7cdded3f017 100644 --- a/src/http/routes.cc +++ b/src/http/routes.cc @@ -102,7 +102,7 @@ future > routes::handle(const sstring& path, std::u return r.handle_exception(_general_handler); } catch (const redirect_exception& _e) { *rep = _e.to_reply(); - rep->done("json"); + rep->set_content_type("json"); } catch (...) { rep = exception_reply(std::current_exception()); }