Skip to content
Snippets Groups Projects
Commit 413c354e authored by Francé Wilke's avatar Francé Wilke
Browse files

API logs :: Add a field to use for GraphQL queries

parent 11b4413d
No related branches found
Tags v1.271.0
No related merge requests found
......@@ -189,6 +189,7 @@ type ApiLog struct {
Username string `json:"username,omitempty"`
SourceIP string `json:"source_ip,omitempty"` // only logged for incoming API
UserAgent string `json:"user_agent,omitempty"` // only for incoming, indicate type of browser when UI
GraphQLQueryRoot string `json:"graphql_query_root,omitempty"`
Request ApiLogRequest `json:"request"`
Response ApiLogResponse `json:"response"`
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment