Skip to content

Commit 5597b1a

Browse files
authored
Merge pull request #47 from leapfrogtechnology/fix-ramda-merge
Fix ramda merge convert issue ¯\(ツ)/¯
2 parents f6a48e5 + c1d1805 commit 5597b1a

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)