double qutes eslint rule
This commit is contained in:
1 parent
2e517cc7f7
commit
85bc8c4af5
57 files changed
+370
-366
No files matched your search
+2
-2
@@ -22,9 +22,9 @@ export async function encodeImageToBlurhash(url: string) {
|
||||
const t = sharp(buffer)
|
||||
.raw()
|
||||
.resize(8, 8, { fit: "inside" })
|
||||
.toFormat('jpeg')
|
||||
.toFormat("jpeg")
|
||||
|
||||
const { data } = await t.toBuffer({ resolveWithObject: true })
|
||||
|
||||
return `data:image/jpeg;base64,${data.toString('base64')}`
|
||||
return `data:image/jpeg;base64,${data.toString("base64")}`
|
||||
}
|
||||
Reference in new issue
Block a user