Letschat / src /lib /syncLocalToSupabase.ts
HonzaH's picture
Upload 171 files
9853b20 verified
Raw
History Blame Contribute Delete
326 Bytes
import { syncLocalToSupabase } from './persistence'
export async function runSync() {
return syncLocalToSupabase()
}
if (require.main === module) {
runSync().then(r => {
console.log('Sync result', r)
process.exit(0)
}).catch(e => {
console.error('Sync failed', e)
process.exit(1)
})
}