Use the correct seed from the response

This commit is contained in:
cmdr2 2022-09-29 13:55:09 +05:30
parent 12182ee04f
commit 196649c0e9

View File

@ -268,7 +268,7 @@ function showImages(req, res, outputContainer, livePreview) {
if(typeof res != 'object') return
const imageData = result?.data || result?.path + '?t=' + new Date().getTime(),
imageSeed = req.seed,
imageSeed = result?.seed,
imageWidth = req.width,
imageHeight = req.height;