File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -31139,7 +31139,9 @@ async function requestIssue(ticket) {
3113931139 const response = await fetch(ticket.ticketUri(), {
3114031140 method: 'GET',
3114131141 headers: {
31142- 'Authorization': `${authMethod} ${authToken}`,
31142+ 'Authorization': `${authMethod} ${Buffer.from(
31143+ authToken
31144+ ).toString('base64')}`,
3114331145 'Accept': 'application/json'
3114431146 }
3114531147 });
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ async function requestIssue(ticket) {
4646 const response = await fetch ( ticket . ticketUri ( ) , {
4747 method : 'GET' ,
4848 headers : {
49- 'Authorization' : `${ authMethod } ${ authToken } ` ,
49+ 'Authorization' : `${ authMethod } ${ Buffer . from (
50+ authToken
51+ ) . toString ( 'base64' ) } `,
5052 'Accept' : 'application/json'
5153 }
5254 } ) ;
You can’t perform that action at this time.
0 commit comments