Skip to content

Commit

Permalink
Merge pull request #285 from hyper63/fix/index
Browse files Browse the repository at this point in the history
fix: expose index api on adapter parser
  • Loading branch information
TillaTheHun0 authored Aug 6, 2021
2 parents e0bcccd + 866fb80 commit 8b9dab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/port-queue/mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export function queue(adapter) {
const instance = QueuePort.parse(adapter);

// wrap the functions with validators
instance.index = QueuePort.shape.index.validate(instance.index);
instance.create = QueuePort.shape.create.validate(instance.create);
instance.post = QueuePort.shape.post.validate(instance.post);
instance.delete = QueuePort.shape.delete.validate(instance.delete);
Expand Down

0 comments on commit 8b9dab7

Please sign in to comment.