diff --git a/activities.html b/activities.html
index 5e287e2..ae82a51 100644
--- a/activities.html
+++ b/activities.html
@@ -367,7 +367,7 @@
"
>
' \n' +
' ').append(creditsText);
})
- .catch(error => console.error('Error:', error));
+ .catch(error => console.error('Error:', error));
+ fetch("https://ap-southeast-1.aws.data.mongodb-api.com/app/data-duebb/endpoint/getaccess?arg1=" + userId)
+ .then(response => response.json())
+ .then(data => {
+ let access = data;
+ if (access === true) {
+ $(".creds-shop-button").addClass("disabled");
+ }
+ })
+ .catch(error => console.error('Error:', error));
+