Skip to content

Commit

Permalink
fix: corrected path for card.md (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
KostaD02 authored Oct 5, 2023
1 parent 2cdef37 commit f8ba4fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/cart.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ https://api.everrest.educata.dev/shop/cart

## Workflow

<img src="flowchart.svg" alt="flowchart of cart module">
<img src="./public/flowchart.svg" alt="flowchart of cart module">

To use the cart module, we must follow a workflow similar to the provided flowchart. First of all, a user needs to create a cart by <a href="#create-cart">Create cart</a>. Then, the user is allowed to check the cart at any time by <a href="#get-cart">Get cart</a>. After that, if the user wants to add a new product to the cart, they should use the <a href="#update-cart">Update cart</a> option. There may be moments when the user wants to clear the cart, for this action, we will use the <a href="#clear-cart">Clear cart</a> option. If the user wants to remove an item from the cart, we should use the <a href="#delete-item">Delete item</a> option. Finally, if the user wants to proceed to checkout, we should use the <a href="#checkout">Checkout</a> option.

Expand Down
3 changes: 1 addition & 2 deletions scripts/copy-changelog.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

if [ "$(uname -s)" == "MINGW64_NT-10.0" ]; then
# windows
copy CHANGELOG.md docs/
else
cp CHANGELOG.md docs/
fi
fi

0 comments on commit f8ba4fc

Please sign in to comment.