Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Commit edcaf67

Browse files
author
condef5
committed
Fixed filter in getFavoriteClubs
1 parent 225c138 commit edcaf67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/services/club.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function getClubs() {
2727
}
2828

2929
async function getFavoriteClubs() {
30-
const response = await fetch(`${apiUrl}/clubs`, {
30+
const response = await fetch(`${apiUrl}/clubs?favorites=true`, {
3131
credentials: "include"
3232
});
3333

0 commit comments

Comments
 (0)