Skip to content

Commit

Permalink
minor: retrieve and update data source user url user -> users (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
narasux authored Sep 5, 2023
1 parent c35bcce commit 4e7c38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/src/http/dataSourceFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export const getDataSourceLeaders = (id: string, keyword: string) => http.get(`/
/**
* 数据源用户详情
*/
export const getDataSourceUserDetails = (id: string) => http.get(`/api/v1/web/data-sources/user/${id}/`);
export const getDataSourceUserDetails = (id: string) => http.get(`/api/v1/web/data-sources/users/${id}/`);

/**
* 更新数据源用户
*/
export const putDataSourceUserDetails = (params: PutDataSourceUserParams) => http.put(`/api/v1/web/data-sources/user/${params.id}/`, params);
export const putDataSourceUserDetails = (params: PutDataSourceUserParams) => http.put(`/api/v1/web/data-sources/users/${params.id}/`, params);

0 comments on commit 4e7c38d

Please sign in to comment.