File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,10 @@ class ZPLConvert extends Operation {
75
75
// The first segment of the resolution arg is the numeric indicator of the resolution
76
76
const labelResolution = labelResolutionArg . toString ( ) . split ( " " ) [ 0 ] ;
77
77
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 } ` ;
79
79
80
80
return fetch ( labelaryUrl , {
81
- method : ' POST' ,
81
+ method : " POST" ,
82
82
headers : { "accept" : "image/png" , "Content-Type" : "application/x-www-form-urlencoded" } ,
83
83
body : input ,
84
84
} ) . then ( response => {
@@ -90,7 +90,7 @@ class ZPLConvert extends Operation {
90
90
}
91
91
return response . blob ( ) ;
92
92
} ) . then ( blob => {
93
- return blob . arrayBuffer ( )
93
+ return blob . arrayBuffer ( ) ;
94
94
} ) . then ( data => {
95
95
return data ;
96
96
} ) . catch ( e => {
You can’t perform that action at this time.
0 commit comments