Skip to content

Commit

Permalink
fix: fix undefined in neo4j neighbor query
Browse files Browse the repository at this point in the history
  • Loading branch information
nylqd authored Nov 21, 2023
1 parent b05c127 commit 4cd2128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gi-assets-neo4j/src/services/NeighborsQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import $i18n from '../i18n';
export const NeighborsQuery = {
name: $i18n.get({ id: 'neo4j.src.services.NeighborsQuery.NeighborQuery', dm: '邻居查询' }),
service: async params => {
const { ids, sep } = params;
const { ids, code: sep } = params;
const driver = await getDriver();
if (driver) {
const res = await driver.getKDegreeRelationships(ids, sep);
Expand Down

0 comments on commit 4cd2128

Please sign in to comment.