Skip to content

Commit

Permalink
fix(repl): avoid printing bad block URLs for ephemeral blocks (#588)
Browse files Browse the repository at this point in the history
Co-authored-by: Douglas Reid <[email protected]>
  • Loading branch information
douglas-reid and Douglas Reid authored Oct 19, 2023
1 parent 5546609 commit a9f687f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steamship/utils/repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def print_object(
output = block.url
elif block.content_url:
output = block.content_url
else:
elif block.id:
block.set_public_data(True)
output = f"{self.client.config.api_base}block/{block.id}/raw"
if output:
Expand Down

0 comments on commit a9f687f

Please sign in to comment.