Skip to content

Commit

Permalink
[FIX] [JETSTREAM] [OS] The field error in ObjectResult was someti…
Browse files Browse the repository at this point in the history
…mes set to `undefined`, when needed to be `null` if no error.
  • Loading branch information
aricart committed Sep 18, 2023
1 parent 05b4bd7 commit 02559e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jetstream/objectstore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ export class ObjectStoreImpl implements ObjectStore {
}
})()
.then(() => {
d.resolve();
d.resolve(null);
})
.catch((err) => {
controller!.error(err);
Expand Down

0 comments on commit 02559e4

Please sign in to comment.