Allow IPs to have quotes around them

This commit is contained in:
Snarling 2022-09-27 19:41:00 -04:00
parent 444c74ccd9
commit aba6de1514

@ -532,7 +532,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
}
const sanitizedAns: string = removeBracketsFromArrayString(ans).replace(/\s/g, "");
const ansArr: string[] = sanitizedAns.split(",");
const ansArr: string[] = sanitizedAns.split(",").map((ip) => ip.replace(/^"|"$/g, ""));
if (ansArr.length !== ret.length) {
return false;
}