Fix error message

This commit is contained in:
Girish Ramakrishnan
2023-03-14 11:35:10 +01:00
parent 53e9eccf72
commit ef3d23ebd9

View File

@@ -250,7 +250,7 @@ async function verifyDomainConfig(domainObject) {
if (typeof domainConfig.email !== 'string') throw new BoxError(BoxError.BAD_FIELD, 'email must be a non-empty string');
}
if (typeof domainConfig.defaultProxyStatus !== 'boolean') throw new BoxError(BoxError.BAD_FIELD, 'defaultProxied must be a boolean');
if (typeof domainConfig.defaultProxyStatus !== 'boolean') throw new BoxError(BoxError.BAD_FIELD, 'defaultProxyStatus must be a boolean');
const ip = '127.0.0.1';