Skip to content

Commit

Permalink
Merge pull request #643 from linkeddata/fix/issue#639
Browse files Browse the repository at this point in the history
null/undefined
  • Loading branch information
bourgeoa committed Mar 23, 2024
2 parents 2d89176 + ae142f3 commit 3e2aa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class UpdateManager {
const requests = kb.statementsMatching(undefined, this.ns.link('requestedURI'), undefined, meta).map(st => st.subject)
for (const request of requests) {
const response = kb.any(request, this.ns.link('response'), null, meta) as Quad_Subject
if (response !== undefined) { // ts
if (response != undefined) { // ts
kb.add(response, this.ns.link('outOfDate'), true as any, meta) // @@ Boolean is fine - fix types
}
}
Expand Down

0 comments on commit 3e2aa53

Please sign in to comment.