Skip to content

Commit a9be973

Browse files
committed
chore: renaming integrationos references to pica
1 parent 4a581f7 commit a9be973

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/algebra/secrets.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use tracing::warn;
1212

1313
const PRODUCTION_KEY: &str = "event_access::custom::live::default::event-inc::internal-ui";
1414
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";
1616

1717
#[derive(Debug, Clone)]
1818
pub 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| {

0 commit comments

Comments
 (0)