1 2 3 4 5 6 7 8 9 10 11 12 13 14import { db, event, graphqlQuery } from '#src/utils'; import { syncAuditUrlsFromRemoteCsv } from '../internal/syncAuditUrlsFromRemoteCsv'; // // Takes an AuditId for an audit with a remote CSV, // and updates the audit's URLs from remote // export const syncFromRemoteCsv = async () => { const auditId = (event.queryStringParameters as any).id; return await syncAuditUrlsFromRemoteCsv(auditId); }