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 7e66372 commit a5b7fe6Copy full SHA for a5b7fe6
1 file changed
bbblb/cli/recording.py
@@ -59,15 +59,15 @@ async def _delete(obj: ServiceRegistry, record_id):
59
@async_command()
60
async def publish(obj: ServiceRegistry, record_id):
61
"""Publish recordings"""
62
- await _change_publish_flag(obj, [record_id], model.RecordingState.PUBLISHED)
+ await _change_publish_flag(obj, list(record_id), model.RecordingState.PUBLISHED)
63
64
65
@recording.command()
66
@click.argument("record_id", nargs=-1)
67
68
async def unpublish(obj: ServiceRegistry, record_id):
69
"""Unpublish recordings"""
70
- await _change_publish_flag(obj, [record_id], model.RecordingState.UNPUBLISHED)
+ await _change_publish_flag(obj, list(record_id), model.RecordingState.UNPUBLISHED)
71
72
73
async def _change_publish_flag(
0 commit comments