remove XML declaration from policylist. Thanks 3DS, I hate you

This commit is contained in:
Jonathan Barrow
2023-11-17 17:24:12 -05:00
parent ba6e89b87f
commit 21e20396b6

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).end({ pretty: true }));
response.send(xmlbuilder.create(policylist, { standalone: true }).end({ pretty: true }));
});
function get3DSPolicyList(countryCode: string, majorVersion: string): { PolicyList: PolicyList } | null {