]> git.cworth.org Git - turbot/blobdiff - turbot_lambda/turbot_lambda.py
Beginning of transition to single-table database schema
[turbot] / turbot_lambda / turbot_lambda.py
index 7d8ac4d917cbd46dd148296397ce51ac18e7e1e0..aa88339244872125a92e48a530c1e5cd8fb4bbc2 100644 (file)
@@ -66,6 +66,7 @@ db = boto3.resource('dynamodb')
 turb = SimpleNamespace()
 turb.slack_client = slack_client
 turb.db = db
+turb.table = db.Table("turbot")
 turb.sheets = sheets
 turb.permissions = permissions
 
@@ -153,7 +154,7 @@ def turbot_interactive_or_slash_command(turb, event, context):
     """Handler for Slack interactive things (buttons, shortcuts, etc.)
     as well as slash commands.
 
-    This function simply makes a quiuck determination of what we're looking
+    This function simply makes a quick determination of what we're looking
     at and then defers to either turbot_interactive or turbot_slash_command."""
 
     # Both interactives and slash commands have a urlencoded body