From 742af7bfd8a19a67f8accfd6d189f76d3e30e091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 14 Apr 2021 11:54:43 +0300 Subject: [PATCH] Remove unused return statement --- hc/api/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hc/api/views.py b/hc/api/views.py index d4831549..d09b6848 100644 --- a/hc/api/views.py +++ b/hc/api/views.py @@ -158,8 +158,6 @@ def _update(check, spec): if new_channels is not None: check.channel_set.set(new_channels) - return check - @validate_json() @authorize_read