More null type check improvements
This commit is contained in:
parent
2db49e65e0
commit
dd5df2402c
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ class ImageConnection {
|
|||
async getOutput(jobid) {
|
||||
const req = await fetch(`${this.httpurl}?id=${jobid}`, {
|
||||
headers: {
|
||||
"Authentication": this.auth ? this.auth : undefined
|
||||
"Authentication": this.auth || undefined
|
||||
}
|
||||
});
|
||||
const contentType = req.headers.get("Content-Type");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue