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