Browse Source

[scrobbling] Fix bad call to has moved

Colin Powell 1 năm trước cách đây
mục cha
commit
829c6b9978
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vrobbler/apps/scrobbles/models.py

+ 1 - 1
vrobbler/apps/scrobbles/models.py

@@ -932,7 +932,7 @@ class Scrobble(TimeStampedModel):
             )
             return scrobble
 
-        has_moved = location.has_moved(scrobble.user.id)
+        has_moved = location.has_moved_for_user(scrobble.user.id)
         logger.info(
             f"[scrobbling] checking - has last location has moved?",
             extra={