@azure/notification-hubs 1.0.2-alpha.20230612.2 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -368,7 +368,7 @@ function serializeToAtomXmlRequest(resourceName, resource) {
368
368
  async function parseXMLError(bodyText) {
369
369
  let result;
370
370
  const xmlError = await coreXml.parseXML(bodyText, { includeRoot: true });
371
- const detail = xmlError["Detail"];
371
+ const detail = xmlError["Error"]["Detail"];
372
372
  if (isDefined(detail)) {
373
373
  return detail;
374
374
  }