10 lines
286 B
TypeScript
10 lines
286 B
TypeScript
import { syncPendingPayments } from './lib/sync-worker';
|
|
|
|
async function run() {
|
|
console.log("Running Sync Worker...");
|
|
const res = await syncPendingPayments();
|
|
console.log("Result:", JSON.stringify(res, null, 2));
|
|
}
|
|
|
|
run().catch(console.error).then(() => process.exit(0));
|