diff --git a/src/api/account.js b/src/api/account.js index dd203895..9dbda37b 100644 --- a/src/api/account.js +++ b/src/api/account.js @@ -7,6 +7,10 @@ export function fetchList(query) { return axios.get(`${apiUrl}/account/search`, { params: query }) } +export function fetchSubstringList(substring, query) { // This query expects that you have setthe platform in the calling class + return axios.get(`${apiUrl}/account/search/${substring}/`, { params: query }) +} + export function fetchRelationships(query) { return axios.get(`${apiUrl}/account/relationship`, { params: query }) } diff --git a/src/views/accounts/list.vue b/src/views/accounts/list.vue index c0cba2fc..094cffb0 100644 --- a/src/views/accounts/list.vue +++ b/src/views/accounts/list.vue @@ -2,13 +2,13 @@