mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-29 16:30:25 +01:00
add @todo note to the RequestData struct
This commit is contained in:
1 parent
7ab8405946
commit
0a61db6efd
1 file changed
+3
-2
@@ -9,8 +9,9 @@ import (
|
||||
// RequestData defines a HTTP request data struct, usually used
|
||||
// as part of the `@request.*` filter resolver.
|
||||
type RequestData struct {
|
||||
Method string `json:"method"`
|
||||
Query map[string]any `json:"query"`
|
||||
Method string `json:"method"`
|
||||
Query map[string]any `json:"query"`
|
||||
// @todo consider changing to Body?
|
||||
Data map[string]any `json:"data"`
|
||||
Headers map[string]any `json:"headers"`
|
||||
AuthRecord *Record `json:"authRecord"`
|
||||
|
||||
Reference in new issue
Block a user