File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use tracing::warn;
1212
1313const PRODUCTION_KEY : & str = "event_access::custom::live::default::event-inc::internal-ui" ;
1414const TEST_KEY : & str = "event_access::custom::test::default::event-inc::internal-ui" ;
15- const INTEGRATIONOS_SECRET_HEADER : & str = "X-INTEGRATIONOS -SECRET" ;
15+ const PICA_SECRET_HEADER : & str = "X-PICA -SECRET" ;
1616
1717#[ derive( Debug , Clone ) ]
1818pub struct SecretsClient {
@@ -69,7 +69,7 @@ impl SecretsClient {
6969 let response = self
7070 . client
7171 . get ( & uri)
72- . header ( INTEGRATIONOS_SECRET_HEADER , access_key)
72+ . header ( PICA_SECRET_HEADER , access_key)
7373 . send ( )
7474 . await
7575 . map_err ( |err| {
@@ -119,7 +119,7 @@ impl SecretsClient {
119119 . client
120120 . post ( & self . create )
121121 . json ( & payload)
122- . header ( INTEGRATIONOS_SECRET_HEADER , access_key)
122+ . header ( PICA_SECRET_HEADER , access_key)
123123 . send ( )
124124 . await
125125 . map_err ( |err| {
You can’t perform that action at this time.
0 commit comments