Skip to content

Commit 3655b1b

Browse files
committed
fix None value
1 parent f22abbb commit 3655b1b

File tree

1 file changed

+1
-1
lines changed
  • localstack-core/localstack/services/dynamodbstreams/v2

1 file changed

+1
-1
lines changed

localstack-core/localstack/services/dynamodbstreams/v2/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def get_shard_iterator(
115115

116116
@handler("ListStreams", expand=False)
117117
def list_streams(self, context: RequestContext, payload: ListStreamsInput) -> ListStreamsOutput:
118-
global_table_region = get_original_region(context=context, stream_arn=payload["TableName"])
118+
global_table_region = get_original_region(context=context, stream_arn=payload.get("TableName"))
119119
# TODO: look into `ExclusiveStartStreamArn` param
120120
return self._forward_request(
121121
context=context, service_request=payload, region=global_table_region

0 commit comments

Comments
 (0)