From 3db0330cfe17402a46a69a8e98aed9207165de1f Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 25 Mar 2026 12:59:39 -0400 Subject: [PATCH] [scrobbles] Properly serialize location_id --- 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 4f93bd5..cde3a02 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -824,6 +824,9 @@ class ScrobbleDetailView(DetailView): if data.get("platform_id", False): data["platform_id"] = data["platform_id"].id + if data.get("location_id", False): + data["location_id"] = data["location_id"].id + self.object.log = data self.object.save(update_fields=["log"]) return redirect(self.object.get_absolute_url())