Add missing auth header

This commit is contained in:
Cohee 2024-03-30 14:23:50 +02:00
parent dddcac9af8
commit 652987ae01
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ function getSdRequestBody() {
case sources.auto:
return { url: extension_settings.sd.auto_url, auth: extension_settings.sd.auto_auth };
case sources.drawthings:
return { url: extension_settings.sd.drawthings_url };
return { url: extension_settings.sd.drawthings_url, auth: extension_settings.sd.drawthings_auth };
default:
throw new Error('Invalid SD source.');
}