mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-01-24 06:16:43 +02:00
add @todo note to the RequestData struct
This commit is contained in:
parent
7ab8405946
commit
0a61db6efd
@ -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"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user