From 114f00f7166f27099f5f2ac48217e9b9a6334c6d Mon Sep 17 00:00:00 2001 From: Nuno Miguel <30806591+nunom27@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:42:20 +0000 Subject: [PATCH] fix: attendee last badges (#520) --- lib/safira_web/live/app/user_live/show.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/safira_web/live/app/user_live/show.ex b/lib/safira_web/live/app/user_live/show.ex index 6539e367f..3532d1597 100644 --- a/lib/safira_web/live/app/user_live/show.ex +++ b/lib/safira_web/live/app/user_live/show.ex @@ -27,7 +27,7 @@ defmodule SafiraWeb.App.UserLive.Show do attendee_badge_reddeems = Contest.list_attendee_all_badges_redeem_status( - socket.assigns.current_user.attendee.id, + attendee_id, true )