From 2ef64e894682927f911deb37b140bce0f93c1813 Mon Sep 17 00:00:00 2001 From: Kasidej Date: Mon, 5 Jan 2026 10:42:58 +0700 Subject: [PATCH] Fix key retrieval in context.go --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index ddc1550f..8382c168 100644 --- a/context.go +++ b/context.go @@ -1436,7 +1436,7 @@ func (c *Context) Value(key any) any { if key == ContextKey { return c } - if val, exists := c.Get(keyAsString); exists { + if val, exists := c.Get(key); exists { return val } if !c.hasRequestContext() {