Skip to content

Commit

Permalink
Fix(Nodes): Migrate to Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
duckdegen committed Oct 3, 2023
1 parent 43c4fc4 commit 933e562
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/jobs/jobs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export class JobsService {
MATCH (jp)-[:HAS_STATUS]->(:JobpostOnlineStatus)
MATCH (j)-[:HAS_CLASSIFICATION]-(cat:JobpostClassification)
MATCH (j)-[:HAS_LOCATION_TYPE]-(l:JobpostLocationType)
OPTIONAL MATCH (j)-[:HAS_TAG]->(t:JobpostTag)
OPTIONAL MATCH (j)-[:HAS_TAG]->(t:Tag)
OPTIONAL MATCH (o)-[:HAS_FUNDING_ROUND]->(f:FundingRound)-[:INVESTED_BY]->(i:Investor)
OPTIONAL MATCH (o)-[:HAS_PROJECT]->(p:Project)
OPTIONAL MATCH (p)-[:IS_DEPLOYED_ON_CHAIN]->(c:Chain)
Expand Down
2 changes: 1 addition & 1 deletion src/organizations/organizations.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class OrganizationsService {
]
}
],
tags: [(organization)-[:HAS_JOBSITE|HAS_JOBPOST|HAS_STRUCTURED_JOBPOST|HAS_TAG*4]->(tag: JobpostTag) WHERE NOT (tag)<-[:IS_BLOCKED_TERM]-() | tag { .* }]
tags: [(organization)-[:HAS_JOBSITE|HAS_JOBPOST|HAS_STRUCTURED_JOBPOST|HAS_TAG*4]->(tag: Tag) WHERE NOT (tag)<-[:IS_BLOCKED_TERM]-() | tag { .* }]
} as res
`;

Expand Down
2 changes: 1 addition & 1 deletion src/shared/models/project.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export const Projects = (
locationType: [(structured_jobpost)-[:HAS_LOCATION_TYPE]->(locationType) | locationType.name ][0]
}
],
tags: [(organization)-[:HAS_JOBSITE|HAS_JOBPOST|HAS_STRUCTURED_JOBPOST|HAS_TAG*4]->(tag: JobpostTag) WHERE NOT (tag)<-[:IS_BLOCKED_TERM]-() | tag { .* }]
tags: [(organization)-[:HAS_JOBSITE|HAS_JOBPOST|HAS_STRUCTURED_JOBPOST|HAS_TAG*4]->(tag: Tag) WHERE NOT (tag)<-[:IS_BLOCKED_TERM]-() | tag { .* }]
},
hacks: [
(project)-[:HAS_HACK]->(hack) | hack { .* }
Expand Down

0 comments on commit 933e562

Please sign in to comment.