fix: algo channel 添加bug
This commit is contained in:
parent
936af7c4fe
commit
9dff134329
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue