We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c0cc7b commit 30096cfCopy full SHA for 30096cf
app/peachSync.ts
@@ -1,12 +1,15 @@
1
import { syncPeachRecords } from './src/controllers/peach.ts';
2
import { sendPermitUpdateNotifications } from './src/controllers/permit.ts';
3
import { getLogger } from './src/utils/log.ts';
4
+import { state } from './state.ts';
5
6
import type { Permit } from './src/types';
7
8
const log = getLogger(module.filename);
9
10
async function syncPeachToPcns() {
11
+ if (!state.features.peach) return;
12
+
13
const started = Date.now();
14
let updatedPermits: Permit[] = [];
15
0 commit comments