From 4be8faaa672be590fb2d568a4f69d2798307ddce Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 17 Dec 2025 14:15:24 +0200 Subject: [PATCH] change error status --- api/block/handle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/block/handle.go b/api/block/handle.go index 462b3b2..67bfcf5 100644 --- a/api/block/handle.go +++ b/api/block/handle.go @@ -40,7 +40,7 @@ func Route(config *config.Config) func(chi.Router) { func (h *blockHandler) handleBlock(w http.ResponseWriter, r *http.Request) { if !h.cfg.Server.BlockConfig.Enabled { - http.Error(w, "Block serving is disabled", http.StatusNotImplemented) + http.Error(w, "Block serving is disabled", http.StatusForbidden) return }