From 110e2ef7a2d68abd46f492a950b060995cffefba Mon Sep 17 00:00:00 2001 From: Finn Frankis Date: Thu, 27 Feb 2025 16:38:09 -0800 Subject: [PATCH] Update customroute-lib.lua --- lib/routelib/examples/customroute-lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routelib/examples/customroute-lib.lua b/lib/routelib/examples/customroute-lib.lua index 523181b..594192c 100644 --- a/lib/routelib/examples/customroute-lib.lua +++ b/lib/routelib/examples/customroute-lib.lua @@ -25,7 +25,7 @@ function route_myhello_conf(t, ctx) -- you could construct a string from the label to get a route and handler -- specific counter instead. if t.stats then - t.stast_id = ctx:stats_get_id("myhello") + t.stats_id = ctx:stats_get_id("myhello") end -- the result table must be a pure lua object, as it is copied between