We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97dace7 commit 7e935feCopy full SHA for 7e935fe
arduino-connection-manager.js
@@ -10,6 +10,9 @@ const accessTokenAudience = process.env.NODE_RED_ACCESS_TOKEN_AUDIENCE || 'https
10
var ids=[];
11
12
async function connect(connectionConfig) {
13
+ if (!connectionConfig.credentials) {
14
+ throw new Error("Cannot find credentials.");
15
+ }
16
var date = new Date();
17
var timestamp = date.getTime();
18
var user = findUser(connectionConfig.credentials.clientid);
0 commit comments