Skip to content

Commit

Permalink
fix(write): enum typo
Browse files Browse the repository at this point in the history
  • Loading branch information
biancode committed Jun 3, 2020
1 parent 18892d0 commit 79d9979
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ try these options on npm install to build, if you have problems to install

### License

The MIT License with [Subscription bundle][3] or GitHub Sponsoring

[Klaus Landsdorf][1]
The MIT License with support via [Subscription bundle][3] or GitHub Sponsoring
[Klaus Landsdorf][1] and Community driven work

### Important

This is **not** an official product of the BACnet Advocacy Group.
It is just to provide BACnet to Node-RED based on node-bacstack package.
BACnet® is a registered trademark of American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE).

### Contribution BACnet
### Contribution NodeJS BACnet® Library

I'd like to give special thanks to [Fabio Huser][2].
I'd like to give special thanks to [Fabio Huser][2] and [Apollon77][4].


[1]:https://bianco-royal.com/
[1]:https://github.com/sponsors/biancode
[2]:https://github.com/fh1ch
[3]:https://osi.bianco-royal.com/
[4]:https://github.com/Apollon77
2 changes: 1 addition & 1 deletion src/bacnet-write.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module.exports = function (RED) {
RED.nodes.registerType('BACnet-Write', BACnetWrite)

RED.httpAdmin.get('/bacnet/ApplicationTags', RED.auth.needsPermission('bacnet.CMD.write'), function (req, res) {
const typeList = BACnet.enum.ApplicationTags
const typeList = BACnet.enum.ApplicationTag
const invertedTypeList = _.toArray(_.invert(typeList))
const resultTypeList = []

Expand Down
6 changes: 3 additions & 3 deletions src/core/bacnet-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
'use strict'

var de = de || { biancoroyal: { bacnet: { core: {} } } } // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.internalDebugLog = de.biancoroyal.bacnet.core.internalDebugLog || require('debug')('bacnet:core') // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.detailDebugLog = de.biancoroyal.bacnet.core.detailDebugLog || require('debug')('bacnet:core:details') // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.specialDebugLog = de.biancoroyal.bacnet.core.specialDebugLog || require('debug')('bacnet:core:special') // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.internalDebugLog = de.biancoroyal.bacnet.core.internalDebugLog || require('debug')('bacnet:nodered:core') // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.detailDebugLog = de.biancoroyal.bacnet.core.detailDebugLog || require('debug')('bacnet:nodered:core:details') // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.specialDebugLog = de.biancoroyal.bacnet.core.specialDebugLog || require('debug')('bacnet:nodered:core:special') // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.errorCodeList = de.biancoroyal.bacnet.core.errorCodeList || [] // eslint-disable-line no-use-before-define
de.biancoroyal.bacnet.core.errorClassList = de.biancoroyal.bacnet.core.errorClassList || [] // eslint-disable-line no-use-before-define

Expand Down

0 comments on commit 79d9979

Please sign in to comment.