Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,8 @@ def Create_Organization(org_name, org_handle):
|
|
| 23 |
|
| 24 |
# Create a bucket in S3
|
| 25 |
s3 = boto3.client('s3')
|
| 26 |
-
|
|
|
|
| 27 |
|
| 28 |
# Save the organization details to S3 bucket
|
| 29 |
key = 'Organizations/' + org_handle + '/Organizationdetails.json'
|
|
|
|
| 23 |
|
| 24 |
# Create a bucket in S3
|
| 25 |
s3 = boto3.client('s3')
|
| 26 |
+
bucket_name = 'orgbotrite23'
|
| 27 |
+
bucket = s3.Bucket(bucket_name)
|
| 28 |
|
| 29 |
# Save the organization details to S3 bucket
|
| 30 |
key = 'Organizations/' + org_handle + '/Organizationdetails.json'
|