We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866cf52 commit 5ce9086Copy full SHA for 5ce9086
packages/slackBotFunction/app/services/dynamo.py
@@ -6,7 +6,7 @@ def get_state_information(key):
6
table.get_item(Key=key)
7
8
9
-def store_state_information(item, condition):
+def store_state_information(item, condition=None):
10
table = get_slack_bot_state_table()
11
if condition:
12
table.put_item(Item=item, ConditionExpression=condition)
0 commit comments