mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-20 21:14:04 +02:00
[#1956] normalized _requests.method to UPPERCASE
This commit is contained in:
1 parent
41f01bab0d
commit
07727dbde6
3 files changed
+24
-1
No files matched your search
+1
-1
@@ -321,7 +321,7 @@ func ActivityLogger(app core.App) echo.MiddlewareFunc {
|
||||
|
||||
model := &models.Request{
|
||||
Url: httpRequest.URL.RequestURI(),
|
||||
Method: strings.ToLower(httpRequest.Method),
|
||||
Method: strings.ToUpper(httpRequest.Method),
|
||||
Status: status,
|
||||
Auth: requestAuth,
|
||||
UserIp: realUserIp(httpRequest, ip),
|
||||
|
||||
Reference in new issue
Block a user