Skip to content

Commit

Permalink
Merge pull request #5 from ennsk/dev
Browse files Browse the repository at this point in the history
fixing gql queries
  • Loading branch information
ennsk authored Mar 9, 2020
2 parents 142f887 + 91c57b1 commit 6f2e80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/nabat_gql_queries.R
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ get_projects = function(token, branch ='prod', url = NULL, aws_gql = NULL, aws_a
if (docker){
# If Docker 3_5_3 use this headers_
if(!is.null(aws_gql)){
headers_ = list(Authorization = paste0("Bearer ", token), host = aws_gql)
headers_ = httr::add_headers(.headers = c(Authorization = paste0("Bearer ", token), host = aws_gql))
}else {
headers_ = list(Authorization = paste0("Bearer ", token))
}
Expand Down

0 comments on commit 6f2e80d

Please sign in to comment.