Skip to content

Commit

Permalink
fix: make dates optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sdevalk committed Dec 3, 2024
1 parent e583972 commit 97fcb91
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/api/src/research-guides/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,14 @@ export class ResearchGuideFetcher {
OPTIONAL {
?this schema:contentReferenceTime ?contentReferenceTime .
?contentReferenceTime schema:startDate ?contentReferenceTimeStartDate ;
schema:endDate ?contentReferenceTimeEndDate .
OPTIONAL {
?contentReferenceTime schema:startDate ?contentReferenceTimeStartDate
}
OPTIONAL {
?contentReferenceTime schema:endDate ?contentReferenceTimeEndDate
}
}
}
`;
Expand Down

0 comments on commit 97fcb91

Please sign in to comment.