existing subscription validation 9

This commit is contained in:
rizwanisready
2024-05-24 21:51:07 +05:30
parent 685ee8a9fb
commit 3cab0dbbc4

View File

@@ -547,7 +547,7 @@
})
.catch((error) => {
console.error("Error:", error);
const errorMessageElement = document.getElementById('error-message');
const errorMessageElement = document.getElementById('already-active-subscription');
if (errorMessageElement) {
errorMessageElement.innerText = "Error: " + error.message; // Display the error in the specific div
errorMessageElement.style.color = 'red'; // Set text color to red