瀏覽代碼

[tasks] Use title, not description

Colin Powell 6 天之前
父節點
當前提交
965f2dd41b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vrobbler/apps/tasks/models.py

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

@@ -82,7 +82,7 @@ class Task(LongPlayScrobblableMixin):
 
     def subtitle_for_user(self, user_id):
         scrobble = self.scrobbles(user_id).first()
-        return scrobble.logdata.description or ""
+        return scrobble.logdata.title or ""
 
     @classmethod
     def find_or_create(cls, title: str) -> "Task":