change standalone to headless in policylist generation

This commit is contained in:
Jonathan Barrow 2023-11-17 17:31:48 -05:00
parent 21e20396b6
commit 16a762b972
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F

View File

@ -31,7 +31,7 @@ nppl.get([
// TODO - Make this more dynamic
response.set('Content-Type', 'application/xml; charset=utf-8');
response.send(xmlbuilder.create(policylist, { standalone: true }).end({ pretty: true }));
response.send(xmlbuilder.create(policylist, { headless: true }).end({ pretty: true }));
});
function get3DSPolicyList(countryCode: string, majorVersion: string): { PolicyList: PolicyList } | null {