Skip to content

Commit

Permalink
Merge pull request #64 from singh-ip/patch-1
Browse files Browse the repository at this point in the history
Fix typo in addPurchases method
  • Loading branch information
amranidev authored Sep 16, 2024
2 parents 3534ceb + 8e0c492 commit 1d0d7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ The following method allow adding, deleting and listing of interactions between

### Purchases

- Adds a purchase of a given item made by a given user, `Laracombee::dddPurchase($user_id, $item_id, $options);`
- Adds a purchase of a given item made by a given user, `Laracombee::addPurchase($user_id, $item_id, $options);`

- Deletes an existing purchase uniquely specified by userId, itemId, and timestamp or all the purchases with given
userId and itemId if timestamp is omitted, `Laracombee::deletePurchase($user_id, $item_id, $options);`
Expand Down

0 comments on commit 1d0d7ab

Please sign in to comment.