From 6d372817bf5bd7a11ea6ca68ffe9cf3b99d863c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Tue, 2 Sep 2025 04:42:57 +0200 Subject: [PATCH] Remove unnecessary warning for missing organization data in drop campaign import --- twitch/management/commands/import_drops.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/twitch/management/commands/import_drops.py b/twitch/management/commands/import_drops.py index 56b18ed..0791601 100644 --- a/twitch/management/commands/import_drops.py +++ b/twitch/management/commands/import_drops.py @@ -482,10 +482,6 @@ class Command(BaseCommand): Returns the Organization object. """ org_data: dict[str, Any] = campaign_data.get("owner", {}) - if not org_data: - self.stdout.write(self.style.WARNING("No owner data found in campaign data. Attempting to find organization by game.")) - - organization: Organization | None = None if org_data: org_defaults: dict[str, Any] = {"name": org_data.get("name")} # Filter out None values to avoid overwriting with them