Skip to content

Commit

Permalink
fix: missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Aug 27, 2024
1 parent 1f2a946 commit 21fa33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/express/BodyWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class BodyWrapper implements Body {
constructor(private readonly env: Environment<DatasetFactoryExt | ClownfaceFactory>, private readonly term: NamedNode, private readonly req: Readable & Pick<Request, 'quadStream'>) {
Object.defineProperty(this, 'dataset', {
get: onetime(() => {
this.env.dataset().import(this.quadStream)
return this.env.dataset().import(this.quadStream)
}),
})
}
Expand Down

0 comments on commit 21fa33b

Please sign in to comment.