1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-02-09 12:14:03 +02:00

[#3068] fixed RequestData log deprecation note

Co-authored-by: Gung Jodi <agung.pratama@dana.id>
This commit is contained in:
Gung Jodi 2023-08-05 12:24:20 +08:00 committed by GitHub
parent b59f0f418e
commit 5c14c7cf5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}