mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
enhancement(lint): Fix lint errors for src/modules/parseShipments.ts
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
9b50811742
commit
3aa6a8253a
1 changed files with 3 additions and 3 deletions
|
|
@ -218,9 +218,9 @@ export function setupCronForShipments(app: ModifiedApp) {
|
|||
if (allUsersWithAShipmentURL.length > 0) {
|
||||
for (const userURLID of allUsersWithAShipmentURL) {
|
||||
try {
|
||||
const shipments = await app.utils.hcshipments.parseShipments(
|
||||
app.db.get(userURLID),
|
||||
).then(e=>e.flat());
|
||||
const shipments = await app.utils.hcshipments
|
||||
.parseShipments(app.db.get(userURLID))
|
||||
.then((e) => e.flat());
|
||||
const oldShipments = app.db.get(
|
||||
`shipments_${userURLID.replace(`shipment_url_`, ``)}`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue