Skip to content

Commit

Permalink
/update_metadata route fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv committed Feb 9, 2024
1 parent b632ad1 commit a003f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlcoder/integration_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ async def update_metadata(request: Request):
)

with open(os.path.join(defog_path, "metadata.json"), "w") as f:
json.dump(metadata, f)
json.dump(table_metadata, f)

return {"status": "success"}

0 comments on commit a003f86

Please sign in to comment.