From 7c1f709f965fea8e848164ad897bb824ba1f3906 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 4 Jul 2026 01:50:05 -0400 Subject: [PATCH] [boardgames] Fix saving variants --- vrobbler/apps/scrobbles/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index 71e6c65..a47612d 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -1278,6 +1278,9 @@ class ScrobbleDetailView(DetailView): if data.get("expansion_ids") is not None: data["expansion_ids"] = [e.id for e in data["expansion_ids"]] + if data.get("variant_ids") is not None: + data["variant_ids"] = [v.id for v in data["variant_ids"]] + if data.get("mood_reason_ids") is not None: data["mood_reason_ids"] = [r.id for r in data["mood_reason_ids"]]