Skip to content
Snippets Groups Projects
Commit 02cfdb65 authored by Yan Sushchynski (EPAM)'s avatar Yan Sushchynski (EPAM)
Browse files

Make xuserid header optional for GC

parent b9baa69c
No related branches found
No related tags found
1 merge request!570Make xuserid header optional for GC
......@@ -29,7 +29,7 @@ The following software have components provided under the terms of this license:
- google-cloud-storage (from https://github.com/GoogleCloudPlatform/google-cloud-python, https://github.com/googleapis/python-storage)
- google-crc32c (from https://github.com/googleapis/python-crc32c)
- google-resumable-media (from https://github.com/googleapis/google-resumable-media-python)
- googleapis-common-protos (from https://github.com/googleapis/google-cloud-python/tree/main/packages/googleapis-common-protos)
- googleapis-common-protos (from https://pypi.org/project/googleapis-common-protos/)
- kubernetes (from https://github.com/kubernetes-client/python)
- packaging (from https://pypi.org/project/packaging/, https://pypi.org/project/packaging/22.0/)
- proto-plus (from https://pypi.org/project/proto-plus/)
......
......@@ -6,7 +6,7 @@ headers = {
"Content-Type": "application/json",
"data-partition-id":input.datapartitionid,
"Authorization": sprintf("Bearer %v", [input.token]),
"x-user-id": input.xuserid,
"x-user-id": object.get(input, "xuserid", null),
"Accept": "application/json"
}
......
......@@ -6,7 +6,7 @@ headers = {
"content-type": "application/json",
"data-partition-id":input.datapartitionid,
"authorization": sprintf("Bearer %v", [input.token]),
"x-user-id": input.xuserid,
"x-user-id": object.get(input, "xuserid", null),
"accept": "application/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