浏览代码

[tasks] Hackety hack

Colin Powell 1 天之前
父节点
当前提交
872ca17432
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      vrobbler/apps/tasks/webhooks.py

+ 3 - 1
vrobbler/apps/tasks/webhooks.py

@@ -104,7 +104,9 @@ def todoist_webhook(request):
         )
         )
 
 
     if todoist_note:
     if todoist_note:
-        scrobble = todoist_scrobble_update_task(todoist_note, user_id)
+        scrobble = todoist_scrobble_update_task(
+            todoist_note, user_profile.user_id
+        )
 
 
     if not scrobble:
     if not scrobble:
         logger.info(
         logger.info(