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:
zeon-neon[bot] 2025-01-04 02:55:27 +00:00 committed by GitHub
parent 9b50811742
commit 3aa6a8253a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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_`, ``)}`,
);