Skip to content

Commit

Permalink
fix: Re-add non null assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
adityachoudhari26 committed Dec 2, 2024
1 parent 35589c8 commit 8c72cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/src/router/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,13 @@ export const resourceRouter = createTRPCRouter({
.filter((n) => isPresent(n.node))
.map((n) => ({
...n.resource_relationship,
resource: n.node,
resource: n.node!,
})),
to: toNodes
.filter((n) => isPresent(n.node))
.map((n) => ({
...n.resource_relationship,
resource: n.node,
resource: n.node!,
})),
},
};
Expand Down

0 comments on commit 8c72cc0

Please sign in to comment.