parent
2395cddcdf
commit
aa6414b1cc
6 changed files with 20 additions and 20 deletions
|
|
@ -77,9 +77,9 @@ async function requestPriceSlotOption(country: string, option: string): Promise<
|
|||
stream: true,
|
||||
request_id
|
||||
};
|
||||
console.log('[sheetService] Sending PriceSlot request:', values);
|
||||
logger.debug('[sheetService] Sending PriceSlot request:', values);
|
||||
const sent = await sendCommandRequest('sheet', values);
|
||||
console.log('[sheetService] PriceSlot request sent:', sent);
|
||||
logger.debug('[sheetService] PriceSlot request sent:', sent);
|
||||
if (!sent) {
|
||||
priceSlotsLoading.set(false);
|
||||
}
|
||||
|
|
@ -95,7 +95,7 @@ export async function updatePriceSlot(
|
|||
slot: PriceSlot,
|
||||
content: SheetRowUpdate[]
|
||||
): Promise<boolean> {
|
||||
// console.log('[sheetService] Sending PriceSlot update:', {
|
||||
// logger.debug('[sheetService] Sending PriceSlot update:', {
|
||||
// country,
|
||||
// slot: slot.slot,
|
||||
// name: slot.name,
|
||||
|
|
@ -113,7 +113,7 @@ export async function updatePriceSlot(
|
|||
option: `PriceSlot${slot.slot}`
|
||||
});
|
||||
|
||||
console.log('[sheetService] PriceSlot update sent:', {
|
||||
logger.debug('[sheetService] PriceSlot update sent:', {
|
||||
country,
|
||||
slot: slot.slot,
|
||||
sent
|
||||
|
|
@ -127,7 +127,7 @@ export async function addPriceSlot(
|
|||
slot: PriceSlot,
|
||||
content: SheetRowCreate[]
|
||||
): Promise<boolean> {
|
||||
console.log('[sheetService] Sending PriceSlot create:', {
|
||||
logger.debug('[sheetService] Sending PriceSlot create:', {
|
||||
country,
|
||||
slot: slot.slot,
|
||||
name: slot.name,
|
||||
|
|
@ -145,7 +145,7 @@ export async function addPriceSlot(
|
|||
option: `PriceSlot${slot.slot}`
|
||||
});
|
||||
|
||||
console.log('[sheetService] PriceSlot create sent:', {
|
||||
logger.debug('[sheetService] PriceSlot create sent:', {
|
||||
country,
|
||||
slot: slot.slot,
|
||||
sent
|
||||
|
|
@ -168,7 +168,7 @@ export async function addPriceSlotRows(
|
|||
option: `PriceSlot${slot.slot}`
|
||||
});
|
||||
|
||||
console.log('[sheetService] PriceSlot rows add sent:', {
|
||||
logger.debug('[sheetService] PriceSlot rows add sent:', {
|
||||
country,
|
||||
slot: slot.slot,
|
||||
rows: content.length,
|
||||
|
|
@ -192,7 +192,7 @@ export async function deletePriceSlotRows(
|
|||
option: `PriceSlot${slot.slot}`
|
||||
});
|
||||
|
||||
console.log('[sheetService] PriceSlot rows delete sent:', {
|
||||
logger.debug('[sheetService] PriceSlot rows delete sent:', {
|
||||
country,
|
||||
slot: slot.slot,
|
||||
rows: rowIds.length,
|
||||
|
|
@ -400,7 +400,7 @@ export async function requestSheetPrice(
|
|||
stream: true,
|
||||
request_id
|
||||
});
|
||||
console.log('[sheetService] Sheet price request sent:', { country, request_id, sent });
|
||||
logger.debug('[sheetService] Sheet price request sent:', { country, request_id, sent });
|
||||
|
||||
if (sent) {
|
||||
markSheetPriceAsSent('price');
|
||||
|
|
@ -431,7 +431,7 @@ export async function requestAllSheetPrice(country: string, force = false): Prom
|
|||
|
||||
sheetPriceLoading.set(true);
|
||||
|
||||
console.log('[sheetService] Sending all sheet price request:', { country, request_id });
|
||||
logger.debug('[sheetService] Sending all sheet price request:', { country, request_id });
|
||||
|
||||
const sent = await sendCommandRequest('sheet', {
|
||||
country,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue