Skip to content
Snippets Groups Projects
Merged Timothee P requested to merge redmine-issues/12378 into develop
2 files
+ 37
25
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 16
12
@@ -6,18 +6,22 @@ const baseUrl = store.state.configuration.VUE_APP_DJANGO_API_BASE;
const miscAPI = {
async getIdgoCatalog() {
const response = await axios.get(
`${baseUrl}idgo-catalog/`
);
if (
response.status === 200 &&
response.data
) {
return response.data;
} else {
return null;
}
async getIdgoCatalog(username) {
try {
const response = await axios.get(
`${baseUrl}idgo-catalog/?user=${username}`
);
if (
response.status === 200 &&
response.data
) {
return response.data;
} else {
return null;
}
} catch (err) {
return err;
}
},
async getExternalGeojson(queryParams) {
Loading