Skip to content

Commit

Permalink
continue to prefix node names in the installed_nodes table
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Oct 21, 2024
1 parent 2231b69 commit 83ae133
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class InstalledPackagesRepository extends Repository<InstalledPackages> {
for (const loadedNode of loadedNodes) {
const installedNode = this.installedNodesRepository.create({
name: nodeTypes[loadedNode.name].type.description.displayName,
type: loadedNode.name,
type: `${packageName}.${loadedNode.name}`,
latestVersion: loadedNode.version,
package: { packageName },
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const mockNode = (packageName: string) => {

return Container.get(InstalledNodesRepository).create({
name: nodeName,
type: nodeName,
type: `${packageName}.${nodeName}`,
latestVersion: COMMUNITY_NODE_VERSION.CURRENT,
package: { packageName },
});
Expand Down

0 comments on commit 83ae133

Please sign in to comment.