@bprotsyk/aso-core 1.2.196 → 1.2.197
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -205,11 +205,10 @@ async function getProfitForTimeRange(from, to) {
|
|
|
205
205
|
range: {
|
|
206
206
|
from: fromString,
|
|
207
207
|
to: toString,
|
|
208
|
-
timezone: 'Europe/
|
|
208
|
+
timezone: 'Europe/Kyiv'
|
|
209
209
|
},
|
|
210
210
|
metrics: ['profit']
|
|
211
211
|
});
|
|
212
|
-
console.log(data.rows);
|
|
213
212
|
return data.rows[0].profit;
|
|
214
213
|
}
|
|
215
214
|
async function getProfitForTodayAndYesterday() {
|
package/package.json
CHANGED
|
@@ -247,13 +247,11 @@ async function getProfitForTimeRange(from: number, to: number): Promise<number>
|
|
|
247
247
|
range: {
|
|
248
248
|
from: fromString,
|
|
249
249
|
to: toString,
|
|
250
|
-
timezone: 'Europe/
|
|
250
|
+
timezone: 'Europe/Kyiv'
|
|
251
251
|
},
|
|
252
252
|
metrics: ['profit']
|
|
253
253
|
})
|
|
254
254
|
|
|
255
|
-
console.log(data.rows)
|
|
256
|
-
|
|
257
255
|
return data.rows[0].profit
|
|
258
256
|
}
|
|
259
257
|
|