@jazzdev/dpd-local-sdk 1.0.3 → 1.0.4
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.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -536,10 +536,9 @@ async function generateLabel(credentials, params) {
|
|
|
536
536
|
method: "GET",
|
|
537
537
|
endpoint,
|
|
538
538
|
headers: {
|
|
539
|
-
Accept: getAcceptHeader(format)
|
|
539
|
+
Accept: getAcceptHeader(format, "zebra-zpl")
|
|
540
540
|
}
|
|
541
541
|
});
|
|
542
|
-
console.log({ endpoint, format, header: getAcceptHeader(format), response });
|
|
543
542
|
if (!response || typeof response === "object" && !response.data) {
|
|
544
543
|
return {
|
|
545
544
|
success: false,
|
package/dist/index.mjs
CHANGED
|
@@ -448,10 +448,9 @@ async function generateLabel(credentials, params) {
|
|
|
448
448
|
method: "GET",
|
|
449
449
|
endpoint,
|
|
450
450
|
headers: {
|
|
451
|
-
Accept: getAcceptHeader(format)
|
|
451
|
+
Accept: getAcceptHeader(format, "zebra-zpl")
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
|
-
console.log({ endpoint, format, header: getAcceptHeader(format), response });
|
|
455
454
|
if (!response || typeof response === "object" && !response.data) {
|
|
456
455
|
return {
|
|
457
456
|
success: false,
|
package/package.json
CHANGED