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
1919LOGTAIL_TOKEN_DISPUTOR_BOT = ABC123ABC123ABC123ABC
2020HEARTBEAT_URL_KEEPER_BOT = https://uptime.betterstack.com/api/v1/heartbeat/ABC123ABC123ABC123ABC
2121SHUTTER_API = testnet
22- SHUTTER_API_TOKEN =
22+ SHUTTER_API_KEY =
2323DISPUTES_TO_SKIP =
2424
2525# Optionally for debugging
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const SHUTTER_API_URL = {
1313} ;
1414
1515const 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 " ) ;
1717
1818interface ShutterApiMessageData {
1919 eon : number ;
@@ -44,8 +44,8 @@ function getApiHeaders(): Record<string, string> {
4444 } ;
4545
4646 // 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 } ` ;
4949 }
5050
5151 return headers ;
You can’t perform that action at this time.
0 commit comments