Update api.py

This commit is contained in:
StruckCroissant 2022-02-07 13:47:17 -06:00 • committed by GitHub
parent d26ddd2ee0
commit 8bfa2cdba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,6 @@ def channel_post(_: Request, body: schema.ChannelPostRequest):
bd_edit = body.__dict__
bd_edit['name'] = bd_edit['name'].strip()
channel = lib.create_channel(bd_edit) # TODO don't use the dataclass as a dict.
print(channel)
# Refresh the videos asynchronously
from ..api import refresh_videos