Add debug logging for product price retrieval in FalukantService and RevenueSection
- Introduced console logs in FalukantService to trace the parameters used in the getProductPricesInCities method, enhancing visibility into the product price retrieval process. - Added logging in RevenueSection to capture the loading process and received better prices for products, improving traceability and debugging capabilities during price loading operations.
This commit is contained in:
@@ -3671,6 +3671,7 @@ class FalukantService extends BaseService {
|
||||
}
|
||||
|
||||
async getProductPricesInCities(hashedUserId, productId, currentPrice, currentRegionId = null) {
|
||||
console.log(`[getProductPricesInCities] Called with productId: ${productId}, currentPrice: ${currentPrice}, currentRegionId: ${currentRegionId}`);
|
||||
const user = await this.getFalukantUserByHashedId(hashedUserId);
|
||||
const character = await FalukantCharacter.findOne({ where: { userId: user.id } });
|
||||
if (!character) {
|
||||
|
||||
Reference in New Issue
Block a user