Skip to content

Commit

Permalink
Merge branch 'issue-1046-strict-boolean-expressions-core' of https://…
Browse files Browse the repository at this point in the history
…github.com/danielpeintner/thingweb.node-wot into issue-1046-strict-boolean-expressions-core
  • Loading branch information
danielpeintner committed Sep 25, 2023
2 parents 567fe1e + ca24f56 commit f5d4f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/consumed-thing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export default class ConsumedThing extends TD.Thing implements IConsumedThing {
this.getSecuritySchemes(form.security),
this.getServient().retrieveCredentials(this.id)
);
} else if (this.security != null && Array.isArray(this.security) && this.security.length > 0) {
} else if (Array.isArray(this.security) && this.security.length > 0) {
logStatement();
client.setSecurity(
this.getSecuritySchemes(this.security as string[]),
Expand Down

0 comments on commit f5d4f60

Please sign in to comment.