Skip to content
Snippets Groups Projects
Commit 0e984cab authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

make http request upper case when sending data to OPA

parent e97fa144
No related branches found
No related tags found
1 merge request!200make http request upper case when sending data to OPA
Pipeline #86222 passed
......@@ -425,7 +425,7 @@ def opa_decision(
**(opa_kwargs or {}),
**user_info,
"resource": request.url.path,
"method": request_method,
"method": request_method.upper(),
"arguments": {"path": request.path_params, "query": {**request.query_params}, "json": json},
}
}
......
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