Skip to content

Commit 55e762c

Browse files
committed
chore: add-shutter-api-token
1 parent d43e68e commit 55e762c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/src/utils/shutter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ async function fetchShutterData(decryptionTimestamp: number): Promise<ShutterApi
3535
headers: {
3636
accept: "application/json",
3737
"Content-Type": "application/json",
38+
authorization: `Bearer ${import.meta.env.REACT_APP_SHUTTER_API_TOKEN}`,
3839
},
3940
body: JSON.stringify({
4041
decryptionTimestamp,
@@ -81,6 +82,7 @@ async function fetchDecryptionKey(identity: string): Promise<ShutterDecryptionKe
8182
method: "GET",
8283
headers: {
8384
accept: "application/json",
85+
authorization: `Bearer ${import.meta.env.REACT_APP_SHUTTER_API_TOKEN}`,
8486
},
8587
});
8688

0 commit comments

Comments
 (0)