Skip to content

Commit

Permalink
Merge branch 'main' into bump-rails-to-7.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
yuenmichelle1 committed Aug 28, 2023
2 parents 4d2ebfa + 3c3173f commit 7ed55d7
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 7ed55d7

Please sign in to comment.