1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-25 15:42:01 +02:00

added @request.context field

This commit is contained in:
Gani Georgiev
2024-02-17 15:01:09 +02:00
parent 6aaf98215d
commit a11abef84b
42 changed files with 79 additions and 43 deletions

View File

@@ -44,6 +44,7 @@ func RequestInfo(c echo.Context) *models.RequestInfo {
}
result := &models.RequestInfo{
Context: models.RequestInfoContextDefault,
Method: c.Request().Method,
Query: map[string]any{},
Data: map[string]any{},