We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6a48e5 commit c1d1805Copy full SHA for c1d1805
src/api.ts
@@ -29,7 +29,7 @@ export async function synchronize(
29
30
const connectionList = Array.isArray(conn) ? conn : [conn];
31
const connections = mapToConnectionReferences(connectionList);
32
- const params = mergeDeepRight(DEFAULT_SYNC_PARAMS, options);
+ const params = mergeDeepRight(DEFAULT_SYNC_PARAMS, options || {});
33
const isCLI = process.env.SYNC_DB_CLI === 'true';
34
const promises = connections.map(({ connection, id: connectionId }) =>
35
synchronizeDatabase(connection, {
0 commit comments