[scrobbling] Fix missing location in create

This commit is contained in:
2024-03-12 23:15:48 -04:00
parent 79d4e79f3e
commit 49dd148f9f

View File

@ -890,6 +890,9 @@ class Scrobble(TimeStampedModel):
that is far enough (and far enough over the last three past scrobbles) to have
actually moved.
"""
key = media_class_to_foreign_key(location.__class__.__name__)
scrobble_data[key + "_id"] = location.id
scrobble = (
cls.objects.filter(
media_type=cls.MediaType.GEO_LOCATION,