From a3bfde8f676ddcf919b860278e1cedb5fb4d9202 Mon Sep 17 00:00:00 2001
From: Ethan Allen-Harris <allen-harrise@cardiff.ac.uk>
Date: Thu, 9 Dec 2021 11:59:22 +0000
Subject: [PATCH] small bugfix to reward card

Signed-off-by: c2064724 <allen-harrise@cardiff.ac.uk>
---
 src/main/resources/templates/fragments/reward_card.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/templates/fragments/reward_card.html b/src/main/resources/templates/fragments/reward_card.html
index 27ef83f..a2f3bab 100644
--- a/src/main/resources/templates/fragments/reward_card.html
+++ b/src/main/resources/templates/fragments/reward_card.html
@@ -28,7 +28,7 @@
                 <p th:text="${reward_amount_obtained} + '/' + ${total_reward_amount}"></p>
             </div>
             <div class="level-right">
-                <a th:href="'businessDetails?shopId=' + ${shop.getShopId()}">
+                <a th:href="'businessDetails?shopId=' + ${shopId}">
                 <button class="button is-rounded">
                     Explore
                     <span class="icon is-small is-left ml-1">
-- 
GitLab