Skip to content

Commit

Permalink
fix: provided default value when labels were not resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
chulanovskyi-bs committed Oct 24, 2024
1 parent 9fc0f74 commit 9c73e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reverse_engineering/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ const logInfo = (step, connectionInfo, logger) => {
logger.log('info', connectionInfo, 'connectionInfo', connectionInfo.hiddenKeys);
};

const getNodesData = ({ dbName, labels, isMultiDb, data, logger }) => {
const getNodesData = ({ dbName, labels = [], isMultiDb, data, logger }) => {
const logProgress = (entityName, message) => {
const step = `Preparing package for "${entityName}"`;

Expand Down

0 comments on commit 9c73e0b

Please sign in to comment.