double qutes eslint rule

This commit is contained in:
tmshv committed 2022-09-06 14:52:56 +03:00
1 parent 2e517cc7f7
commit 85bc8c4af5
57 files changed
+370 -366

No files matched your search

+2 -2
View File
@@ -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")}`
}