[scrobbles] Fix log of media type
This commit is contained in:
@ -89,10 +89,9 @@ class ScrobblableMixin(TimeStampedModel):
|
|||||||
"[scrobble_for_user] called",
|
"[scrobble_for_user] called",
|
||||||
extra={
|
extra={
|
||||||
"id": self.id,
|
"id": self.id,
|
||||||
"media_type": self.__class__,
|
"media_type": self.media_obj.__class__,
|
||||||
"user_id": user_id,
|
"user_id": user_id,
|
||||||
"scrobble_data": scrobble_data,
|
"scrobble_data": scrobble_data,
|
||||||
"media_type": Scrobble.MediaType.WEBPAGE,
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
return Scrobble.create_or_update(self, user_id, scrobble_data)
|
return Scrobble.create_or_update(self, user_id, scrobble_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user