kayo henrique 3 settimane fa
parent
commit
6ccae95f42
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/api/improvementType.js

+ 1 - 1
src/api/improvementType.js

@@ -5,7 +5,7 @@ export const getImprovementType = async (id) => {
   return data.payload;
 };
 
-export const getImprovementTypes = async (origin) => {
+export const getImprovementTypes = async (origin = "both") => {
   const { data } = await api.get("/improvement-types", {
     params: {
       origin