Skip to content

Commit

Permalink
Add comment explaining to temporarily add FIA_API_API key to the spec…
Browse files Browse the repository at this point in the history
…ification migration script

The API key isn't accepted by the terminal due to fancy characters
  • Loading branch information
HumzahJavid committed Aug 13, 2024
1 parent 3c118d0 commit 3ac07cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/specification_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
import requests

FIA_API_URL = sys.argv[1]
"""
The API key doesn't work when running in a bash terminal (due to the non
alpha-numeric characters). So it needs to be temporarily added below when running,
and removed after (DO NOT COMMIT the hardcoded FIA_API_API_KEY)
"""
FIA_API_API_KEY = sys.argv[2]

successful_update: int = 200
Expand Down

0 comments on commit 3ac07cf

Please sign in to comment.