Skip to content

Commit

Permalink
fix: properly override database url properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmega committed Jun 11, 2020
1 parent defa9bc commit b0ac170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/DriverUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class DriverUtils {
if (buildOptions && buildOptions.useSid) {
urlDriverOptions.sid = parsedUrl.database;
}
return Object.assign({}, options, urlDriverOptions);
return Object.assign({}, urlDriverOptions, options);
}
return Object.assign({}, options);
}
Expand Down

0 comments on commit b0ac170

Please sign in to comment.