@azure/notification-hubs 1.0.2-alpha.20230511.1 → 1.0.2-alpha.20230522.1
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
|
@@ -1267,7 +1267,7 @@ function deleteRegistration(context, registrationId, options = {}) {
|
|
|
1267
1267
|
const headers = await context.createHeaders(OPERATION_NAME$8);
|
|
1268
1268
|
headers.set("Content-Type", "application/atom+xml;type=entry;charset=utf-8");
|
|
1269
1269
|
headers.set("If-Match", isDefined(options.etag) ? `"${options.etag}"` : "*");
|
|
1270
|
-
const request = createRequest(endpoint, "
|
|
1270
|
+
const request = createRequest(endpoint, "DELETE", headers, updatedOptions);
|
|
1271
1271
|
const response = await sendRequest(context, request, 200);
|
|
1272
1272
|
return parseNotificationResponse(response);
|
|
1273
1273
|
});
|