From 5c14c7cf5e2f4a9da67b4fac85b91202f0a41aab Mon Sep 17 00:00:00 2001 From: Gung Jodi Date: Sat, 5 Aug 2023 12:24:20 +0800 Subject: [PATCH] [#3068] fixed RequestData log deprecation note Co-authored-by: Gung Jodi --- apis/record_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/record_helpers.go b/apis/record_helpers.go index d39fc733..cb76901a 100644 --- a/apis/record_helpers.go +++ b/apis/record_helpers.go @@ -21,7 +21,7 @@ const ContextRequestInfoKey = "requestInfo" // Deprecated: Use RequestInfo instead. func RequestData(c echo.Context) *models.RequestInfo { - log.Println("RequestInfo(c) is depracated and will be removed in the future! You can replace it with RequestInfo(c).") + log.Println("RequestData(c) is deprecated and will be removed in the future! You can replace it with RequestInfo(c).") return RequestInfo(c) }