Hello World
This commit is contained in:
11
habitica-account.js
Normal file
11
habitica-account.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = RED => {
|
||||
function HabiticaAccountNode(n) {
|
||||
RED.nodes.createNode(this, n);
|
||||
|
||||
this.username = n.username;
|
||||
this.userId = n.userId;
|
||||
this.apiToken = n.apiToken;
|
||||
}
|
||||
|
||||
RED.nodes.registerType('habitica-account', HabiticaAccountNode);
|
||||
};
|
Reference in New Issue
Block a user