Skip to content

Commit

Permalink
remove async from assign execution
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAhrdt committed Aug 29, 2024
1 parent 9cc4cb3 commit 6d285b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/modules/assignhandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class assignhandlerClass {
}
}
},
Pressurea: {
Pressure: {
approvedFolders: {
"uplink.decoded": {
assignfunction: this.commonAssign,
Expand Down Expand Up @@ -256,7 +256,7 @@ class assignhandlerClass {
* ********************* Execution of Assigns ***********************
* ******************************************************************/

async executeAssign(id,value,assigndata,options){
executeAssign(id,value,assigndata,options){
const activeFunction = "executeAssign";
this.adapter.log.debug(`Function ${activeFunction} started.`);
try{
Expand All @@ -276,7 +276,7 @@ class assignhandlerClass {
* ******************* Assign of common values ***********************
* ******************************************************************/

async commonAssign(id,value,assigndata,options){
commonAssign(id,value,assigndata,options){
for(const element in assigndata.common){
options.common[element] = assigndata.common[element];
}
Expand Down

0 comments on commit 6d285b4

Please sign in to comment.