fix: algo channel 添加bug

This commit is contained in:
caoqianming 2023-05-24 17:19:32 +08:00
parent 936af7c4fe
commit 9dff134329
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class AlgoChannelViewSet(CreateModelMixin, DestroyModelMixin, ListModelMixin, Cu
return Response()
def perform_create(self, serializer):
ins = super().perform_create(serializer)
ins = serializer.save()
if ins.always_on:
monitor_check([ins.vchannel.id])