Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
feat: fix create bucket for user events
Browse files Browse the repository at this point in the history
  • Loading branch information
tetiana-karasova committed Mar 1, 2022
1 parent 51b550d commit 6fc69d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

project_id = google.auth.default()[1]
timestamp_ = datetime.datetime.now().timestamp().__round__()
bucket_name = os.environ["EVENTS_BUCKET_NAME"]
bucket_name = "{}_events_{}".format(project_id, timestamp_)

create_bucket(bucket_name)
upload_blob(bucket_name, "../resources/user_events.json")
Expand Down

0 comments on commit 6fc69d9

Please sign in to comment.