get categories updated
This commit is contained in:
parent
cebd858fab
commit
c0862b0b1e
@ -61,9 +61,9 @@ const Categories = () => {
|
||||
const getCategories = async () => {
|
||||
try {
|
||||
const response = await axios.get("/api/category/getCategories", {
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
// headers: {
|
||||
// Authorization: `Bearer ${token}`,
|
||||
// },
|
||||
});
|
||||
|
||||
if (response.status === 200) {
|
||||
|
Loading…
Reference in New Issue
Block a user