Open hitchhooker opened 11 months ago
It appears that there is a logic issue in the member.entity.js file, specifically at the following line: https://github.com/ibp-network/ibp-monitor/blob/59631c7ff3667f4413e14670f5df1e771b5a2476/domain/member.entity.js#L57C49
member.entity.js
The current code seems to incorrectly increment the member level by +1, which results in monitoring for instances that are not yet running.
What is the reasoning here for increment? Wouldn't it be making more sense to use members.json as source truth?
@pandres95 was there any reasoning for this increment if I look to fix it now over the weekend?
It appears that there is a logic issue in the
member.entity.js
file, specifically at the following line: https://github.com/ibp-network/ibp-monitor/blob/59631c7ff3667f4413e14670f5df1e771b5a2476/domain/member.entity.js#L57C49The current code seems to incorrectly increment the member level by +1, which results in monitoring for instances that are not yet running.
What is the reasoning here for increment? Wouldn't it be making more sense to use members.json as source truth?