From 8e0c492295f2ad05019e88ae5fe00f5f07ef301a Mon Sep 17 00:00:00 2001 From: Inderpreet Singh Date: Mon, 9 Sep 2024 13:57:24 +0530 Subject: [PATCH] Fix typo in addPurchases method --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3242947..6088723 100644 --- a/README.md +++ b/README.md @@ -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);`