Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Mar 29, 2024
1 parent 2ac23e0 commit ec44cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2322,7 +2322,7 @@ class Parcel extends utils.Adapter {
this.log.debug(res.data);
return;
}
if (status.includes('Erstattung veranlasst') && stateObject == {}) {
if (status.includes('Erstattung') && Object.keys(stateObject).length === 0) {
this.log.debug('No detail status found for ' + order.url);
this.log.debug(res.data);
return;
Expand Down

0 comments on commit ec44cd2

Please sign in to comment.