Skip to content

Commit

Permalink
Merge pull request #12 from ryandansby/ryand/fix_key_values
Browse files Browse the repository at this point in the history
Fix key values for updated dbt
  • Loading branch information
rfdearborn authored Dec 28, 2022
2 parents 23f2764 + 1a30b81 commit 5b896f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt_docs_to_notion.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def main():
{
"type": "text",
"text": {
"content": data['raw_sql'][:2000]
"content": data['raw_code'][:2000] if 'raw_code' in data else data['raw_sql'][:2000]
}
}
],
Expand Down Expand Up @@ -362,7 +362,7 @@ def main():
{
"type": "text",
"text": {
"content": data['compiled_sql'][:2000]
"content": data['compiled_code'][:2000] if 'compiled_code' in data else data['compiled_sql'][:2000]
}
}
],
Expand Down

0 comments on commit 5b896f7

Please sign in to comment.