chore: code formatting

This commit is contained in:
github-actions[bot]
2022-11-21 05:34:24 +00:00
parent 75b3e6d670
commit 5e2b16a736
3 changed files with 170 additions and 160 deletions

View File

@@ -445,7 +445,7 @@ export const filters = {
/**Image to base64 */
export async function imgb64(image, {width, height, fallback = true} = {}) {
//Ignore already encoded-base 64
if ((typeof image === "string")&&(image.startsWith("data:image/png;base64")))
if ((typeof image === "string") && (image.startsWith("data:image/png;base64")))
return image
//Undefined image
if (!image)