Skip to content

Commit

Permalink
feature: prints do debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJaeger committed Nov 19, 2024
1 parent accc47a commit 94f5c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion insights/widgets/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def update(self, request, *args, **kwargs):
config.update(update_data["config"])
update_data["config"] = config

if widget.type != "card" or widget.type != "recurrence":
if widget.type not in ["card", "recurrence"]:
print("entrou no if do type card e recurrence")
serializer = self._update(widget, update_data, partial)
return Response(serializer.data)
Expand Down

0 comments on commit 94f5c4f

Please sign in to comment.