From 4e37bc5ab97c152f1f6f807b1cf9befa01710de4 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 27 Jun 2025 11:42:37 -0400 Subject: [PATCH] [tasks] Fix bug in looking up user profile --- vrobbler/apps/tasks/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/tasks/webhooks.py b/vrobbler/apps/tasks/webhooks.py index 41ee5ec..92aecfd 100644 --- a/vrobbler/apps/tasks/webhooks.py +++ b/vrobbler/apps/tasks/webhooks.py @@ -144,7 +144,7 @@ def emacs_webhook(request): if not user_id: user_id = 1 - user_profile = UserProfile.objects.filter(user_id=user_id) + user_profile = UserProfile.objects.filter(user_id=user_id).first() scrobble = None if post_data.get("source_id"):