MCPcopy Create free account
hub / github.com/simstudioai/sim / backfillDrive

Function backfillDrive

apps/sim/lib/webhooks/polling/canonical.test.ts:46–47  ·  view source on GitHub ↗
(c: GoogleDriveConfig)

Source from the content-addressed store, hash-verified

44 // Mirror of the migration 0253 backfill: fill the canonical key basic-first
45 // ONLY when absent. For Drive the canonical key IS the basic key (folderId).
46 const backfillDrive = (c: GoogleDriveConfig): GoogleDriveConfig =>
47 c.folderId ? c : { ...c, folderId: c.folderId || c.manualFolderId }
48
49 const driveShapes: GoogleDriveConfig[] = [
50 { folderId: 'basic-only' },

Callers 1

canonical.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected