Skip to content

Commit adf73aa

Browse files
resolve linting issues in the zpl converter operation
1 parent 02ea4bf commit adf73aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/operations/ZPLConvert.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ class ZPLConvert extends Operation {
7575
// The first segment of the resolution arg is the numeric indicator of the resolution
7676
const labelResolution = labelResolutionArg.toString().split(" ")[0];
7777

78-
const labelaryUrl = `${labelaryApi}/v1/printers/${labelResolution}dpmm/labels/${widthArg}x${heightArg}/${index}`
78+
const labelaryUrl = `${labelaryApi}/v1/printers/${labelResolution}dpmm/labels/${widthArg}x${heightArg}/${index}`;
7979

8080
return fetch(labelaryUrl, {
81-
method: 'POST',
81+
method: "POST",
8282
headers: {"accept": "image/png", "Content-Type": "application/x-www-form-urlencoded"},
8383
body: input,
8484
}).then(response => {
@@ -90,7 +90,7 @@ class ZPLConvert extends Operation {
9090
}
9191
return response.blob();
9292
}).then(blob => {
93-
return blob.arrayBuffer()
93+
return blob.arrayBuffer();
9494
}).then(data => {
9595
return data;
9696
}).catch(e => {

0 commit comments

Comments
 (0)