Fix automated bug report for biz info error

This commit is contained in:
Vortrex
2022-05-30 07:37:41 -05:00
parent ab23ddf4b9
commit 1722eafa6f

View File

@@ -723,11 +723,12 @@ function getBusinessInfoCommand(command, params, client) {
break;
case VRR_BIZOWNER_NONE:
submitBugReport(client, `[AUTOMATED REPORT] getBusinessInfoCommand() - Invalid ownerType for business ${businessId}/${getBusinessData(businessId).databaseId}`);
ownerName = "INVALID";
//submitBugReport(client, `[AUTOMATED REPORT] getBusinessInfoCommand() - Invalid ownerType for business ${businessId}/${getBusinessData(businessId).databaseId}`);
ownerName = "None";
break;
default:
submitBugReport(client, `[AUTOMATED REPORT] getBusinessInfoCommand() - Invalid ownerType ${businessData.ownerType} for business ${businessId}/${getBusinessData(businessId).databaseId}`);
ownerName = "None";
break;
}