File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ LOGTAIL_TOKEN_RELAYER_BOT=ABC123ABC123ABC123ABC
19
19
LOGTAIL_TOKEN_DISPUTOR_BOT = ABC123ABC123ABC123ABC
20
20
HEARTBEAT_URL_KEEPER_BOT = https://uptime.betterstack.com/api/v1/heartbeat/ABC123ABC123ABC123ABC
21
21
SHUTTER_API = testnet
22
- SHUTTER_API_TOKEN =
22
+ SHUTTER_API_KEY =
23
23
DISPUTES_TO_SKIP =
24
24
25
25
# Optionally for debugging
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const SHUTTER_API_URL = {
13
13
} ;
14
14
15
15
const SHUTTER_API = env . optional ( "SHUTTER_API" , "mainnet" ) as keyof typeof SHUTTER_API_URL ;
16
- const SHUTTER_API_TOKEN = env . optionalNoDefault ( "SHUTTER_API_TOKEN " ) ;
16
+ const SHUTTER_API_KEY = env . optionalNoDefault ( "SHUTTER_API_KEY " ) ;
17
17
18
18
interface ShutterApiMessageData {
19
19
eon : number ;
@@ -44,8 +44,8 @@ function getApiHeaders(): Record<string, string> {
44
44
} ;
45
45
46
46
// Add bearer token for mainnet if available
47
- if ( SHUTTER_API === "mainnet" && SHUTTER_API_TOKEN && SHUTTER_API_TOKEN ?. trim ( ) !== "" ) {
48
- headers . Authorization = `Bearer ${ SHUTTER_API_TOKEN } ` ;
47
+ if ( SHUTTER_API === "mainnet" && SHUTTER_API_KEY && SHUTTER_API_KEY ?. trim ( ) !== "" ) {
48
+ headers . Authorization = `Bearer ${ SHUTTER_API_KEY } ` ;
49
49
}
50
50
51
51
return headers ;
You can’t perform that action at this time.
0 commit comments