We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 945065f commit cd8ad9cCopy full SHA for cd8ad9c
src/services/teams.js
@@ -15,7 +15,7 @@ import config from "../../config";
15
export const getMyTeams = (name, page = 1, perPage) => {
16
let query = `page=${page}&perPage=${perPage}`;
17
if (name) {
18
- query += `&name=${name}`;
+ query += `&name=*${name}*`; // wrap with asterisks to search by substrings
19
}
20
21
return axios.get(`${config.API.V5}/taas-teams?${query}`);
0 commit comments