We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 415e708 commit 44d1fe1Copy full SHA for 44d1fe1
src/api/members.ts
@@ -14,21 +14,8 @@ export const getMembers = async (dashboardId?: string | string[]) => {
14
const dashboardIdNum =
15
typeof dashboardId === "string" ? Number(dashboardId) : undefined;
16
17
-<<<<<<< HEAD
18
const response = await axiosInstance.get<MembersResponse>(
19
`https://sp-taskify-api.vercel.app/13-4/members?page=1&size=20&dashboardId=${dashboardIdNum}`
20
-=======
21
- const response = await axios.get<ApiResponse>(
22
- `${process.env.NEXT_PUBLIC_BASE_URL}13-4/members`,
23
- {
24
- params: {
25
- dashboardId: numericDashboardId,
26
- },
27
- headers: {
28
- Authorization: `Bearer ${token}`,
29
30
- }
31
->>>>>>> 10ec577c7eaf3fca9342ef7c7fd37011d17b163f
32
);
33
34
return response.data.members || [];
0 commit comments