From 34b1fa2cffbef30e10b122bcc0502895b24893e1 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 11 Oct 2024 20:28:54 +0300 Subject: [PATCH] [chore] Run code format --- src/endpoints/stable-diffusion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/stable-diffusion.js b/src/endpoints/stable-diffusion.js index 0ac395a4d..986774d93 100644 --- a/src/endpoints/stable-diffusion.js +++ b/src/endpoints/stable-diffusion.js @@ -637,7 +637,7 @@ together.post('/generate', jsonParser, async (request, response) => { const choice = data?.data?.[0]; let b64_json = choice.b64_json; - if(! b64_json) { + if (!b64_json) { const buffer = await (await fetch(choice.url)).buffer(); b64_json = buffer.toString('base64'); }