Skip to content

Commit f6e2abe

Browse files
committed
fix nodered string error
1 parent ca836b2 commit f6e2abe

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

OpenFlow/src/Messages/Message.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,10 @@ export class Message {
834834
resources.limits.memory = "256Mi";
835835

836836
if (user.nodered) {
837-
if (user.nodered.api_allow_anonymous == null) user.nodered.api_allow_anonymous = false;
837+
try {
838+
if (user.nodered.api_allow_anonymous == null) user.nodered.api_allow_anonymous = false;
839+
} catch (error) {
840+
}
838841
}
839842
if (user.nodered && user.nodered.resources) {
840843
if (NoderedUtil.IsNullEmpty(Config.stripe_api_secret)) {

OpenFlowNodeRED/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openflow-nodered",
3-
"version": "1.0.55",
3+
"version": "1.0.56",
44
"description": "Simple wrapper around NodeRed, RabbitMQ and MongoDB to support a more scaleable NodeRed implementation.\r Also the \"backend\" for [OpenRPA](https://github.com/skadefro/OpenRPA)",
55
"main": "index.js",
66
"scripts": {

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.55
1+
1.0.56

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openiap",
3-
"version": "1.0.55",
3+
"version": "1.0.56",
44
"description": "Simple wrapper around NodeRed, RabbitMQ and MongoDB to support a more scaleable NodeRed implementation.\r Also the \"backend\" for [OpenRPA](https://github.com/skadefro/OpenRPA)",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)