Skip to content

Commit

Permalink
Merge pull request #62 from pullflow/srzainab/issue60
Browse files Browse the repository at this point in the history
Update authorization header in PullflowApi
  • Loading branch information
srzainab authored Jan 24, 2024
2 parents 4d8ed5f + 08e2d9f commit 9bbd4ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/pullflowApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ export class PullflowApi {
this.options = {
method,
headers: {
authorization: accessToken ?? '',
authorization: `Bearer ${accessToken ?? ''}`,
version: context.extension.packageJSON.version,
Accept: 'application/json, text/plain',
'Content-Type': 'application/json;charset=UTF-8',
'auth-provider': 'custom-auth',
},
}
this.apiUrl = AppConfig.pullflow.graphqlUrl
Expand Down

0 comments on commit 9bbd4ee

Please sign in to comment.