Skip to content

Commit db5f376

Browse files
author
John Major
committed
X
1 parent 4b53ebf commit db5f376

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/run_api_with_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def main():
202202
logging.getLogger("boto3").setLevel(logging.DEBUG)
203203
logging.getLogger("botocore.hooks").setLevel(logging.DEBUG)
204204
dynamodb = boto3.resource('dynamodb', region_name=REGION)
205-
file_registry = FileRegistry(dynamodb)
205+
file_registry = FileRegistry()
206206
LOGGER.info("File registry initialized - file management endpoints will be available")
207207
except Exception as e:
208208
LOGGER.warning("Failed to initialize file registry: %s", e)

examples/run_api_without_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def main():
9494
try:
9595
import boto3
9696
dynamodb = boto3.resource('dynamodb', region_name=REGION)
97-
file_registry = FileRegistry(dynamodb)
97+
file_registry = FileRegistry()
9898
LOGGER.info("File registry initialized - file management endpoints will be available")
9999
except Exception as e:
100100
LOGGER.warning("Failed to initialize file registry: %s", e)

0 commit comments

Comments
 (0)