Skip to content

Commit

Permalink
Update and rename eras_forwarder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Aug 28, 2023
1 parent 77b4f66 commit 3c3173f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from requests.auth import HTTPBasicAuth

HEADERS = {"Content-Type": "application/json", "Accept": "application/json"}
ENDPOINT = "https://eras-staging.zooniverse.org/kinesis"
ENDPOINT = os.environ["KINESIS_STREAM_ENDPOINT"]

def lambda_handler(event, context):
payloads = [json.loads(base64.b64decode(record["kinesis"]["data"])) for record in event["Records"]]
Expand Down

0 comments on commit 3c3173f

Please sign in to comment.