Refactor game ownership to support multiple organizations and update related logic

This commit is contained in:
Joakim Hellsén 2026-01-09 21:57:37 +01:00
commit 99e7b40535
No known key found for this signature in database
10 changed files with 99 additions and 64 deletions

View file

@ -35,8 +35,8 @@ class TestSearchView:
twitch_id="456",
name="test_game",
display_name="Test Game",
owner=org,
)
game.owners.add(org)
campaign: DropCampaign = DropCampaign.objects.create(
twitch_id="789",
name="Test Campaign",
@ -246,8 +246,8 @@ class TestChannelListView:
twitch_id="game1",
name="test_game",
display_name="Test Game",
owner=org,
)
game.owners.add(org)
# Create a channel
channel: Channel = Channel.objects.create(