mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-10 05:47:57 +01:00
[#3068] fixed RequestData log deprecation note
Co-authored-by: Gung Jodi <agung.pratama@dana.id>
This commit is contained in:
1 parent
b59f0f418e
commit
5c14c7cf5e
1 file changed
+1
-1
@@ -21,7 +21,7 @@ const ContextRequestInfoKey = "requestInfo"
|
|||||||
|
|
||||||
// Deprecated: Use RequestInfo instead.
|
// Deprecated: Use RequestInfo instead.
|
||||||
func RequestData(c echo.Context) *models.RequestInfo {
|
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)
|
return RequestInfo(c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user