File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use tracing::warn;
12
12
13
13
const PRODUCTION_KEY : & str = "event_access::custom::live::default::event-inc::internal-ui" ;
14
14
const 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" ;
16
16
17
17
#[ derive( Debug , Clone ) ]
18
18
pub struct SecretsClient {
@@ -69,7 +69,7 @@ impl SecretsClient {
69
69
let response = self
70
70
. client
71
71
. get ( & uri)
72
- . header ( INTEGRATIONOS_SECRET_HEADER , access_key)
72
+ . header ( PICA_SECRET_HEADER , access_key)
73
73
. send ( )
74
74
. await
75
75
. map_err ( |err| {
@@ -119,7 +119,7 @@ impl SecretsClient {
119
119
. client
120
120
. post ( & self . create )
121
121
. json ( & payload)
122
- . header ( INTEGRATIONOS_SECRET_HEADER , access_key)
122
+ . header ( PICA_SECRET_HEADER , access_key)
123
123
. send ( )
124
124
. await
125
125
. map_err ( |err| {
You can’t perform that action at this time.
0 commit comments