Merge pull request #20 from WDI-Ideas/development

existing subscription validation 9
This commit is contained in:
rizwanisready
2024-05-24 21:51:39 +05:30
committed by GitHub

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