change getData file
This commit is contained in:
parent
016b69f5ed
commit
c2a21b2780
|
@ -23,5 +23,5 @@ export const getUser = async (login)=>{
|
|||
|
||||
// 获取用户对应项目内的信息(例如:用户对某个项目的贡献情况) author: zxh
|
||||
export const getUser4Proj = async (login, projectsId)=>{
|
||||
return (await axios.get(`/users/${login}/hovercard4proj.json?project_name=${projectsId}`)).data;
|
||||
return (await axios.get(`/users/${login}/hovercard4proj.json?project_identifier=${projectsId}`)).data;
|
||||
}
|
Loading…
Reference in New Issue