Skip to content

Commit c1d1805

Browse files
committed
Fix ramda merge
1 parent f6a48e5 commit c1d1805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export async function synchronize(
2929

3030
const connectionList = Array.isArray(conn) ? conn : [conn];
3131
const connections = mapToConnectionReferences(connectionList);
32-
const params = mergeDeepRight(DEFAULT_SYNC_PARAMS, options);
32+
const params = mergeDeepRight(DEFAULT_SYNC_PARAMS, options || {});
3333
const isCLI = process.env.SYNC_DB_CLI === 'true';
3434
const promises = connections.map(({ connection, id: connectionId }) =>
3535
synchronizeDatabase(connection, {

0 commit comments

Comments
 (0)