This commit is contained in:
2025-06-09 23:36:48 +02:00
parent 42408816f4
commit 301687a609
3 changed files with 4 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ export async function toggleNoticeStatus(noticeId) {
`${API_URL}/toggle/${noticeId}`,
{},
{
headers,
headers: headers,
}
);
return response.data;
@@ -27,7 +27,7 @@ export async function getWishlist() {
const headers = token ? { Authorization: `Bearer ${token}` } : {};
try {
const response = await axios.get(`${API_URL}/`, { headers });
const response = await axios.get(`${API_URL}/`, { headers: headers });
return response.data;
} catch (error) {
console.error("Error fetching wishlist:", error);