Commit f85662f8 authored by Rémy Huet's avatar Rémy Huet 💻

Add sort and include

parent a69405b0
Pipeline #32402 passed with stage
in 55 seconds
......@@ -6,7 +6,7 @@ import env from '../env';
export function fetchCategories(token) {
return {
payload: axios.get(`${env.api_uri}/api/v1/categories`,
payload: axios.get(`${env.api_uri}/api/v1/categories?sort=parent_id&include=parent`,
headers: { Authorization: `Bearer ${token}` },
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment