Skip to content

Commit

Permalink
fix gh token
Browse files Browse the repository at this point in the history
  • Loading branch information
clemenko committed Apr 17, 2024
1 parent c2b0920 commit f05a3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dzver/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
app = Flask(__name__)

gh_token = os.getenv('GITHUB_TOKEN')
headers = {'authorization': 'Bearer'gh_token}
headers = {'authorization': 'Bearer {}'.format(gh_token)}

@app.route('/json', methods=['GET'])
def json_all_the_things():
Expand Down

0 comments on commit f05a3fd

Please sign in to comment.