17 lines
302 B
JavaScript
17 lines
302 B
JavaScript
import fetch from './fetch';
|
|
|
|
|
|
export function getMainScore(owner,repo) {
|
|
return fetch({
|
|
url: `/api/OSS_Health_Measuring/${owner}/${repo}`,
|
|
method: 'get'
|
|
});
|
|
}
|
|
|
|
export function getChange(owner,repo) {
|
|
return fetch({
|
|
url: `/api/OHM_can_get/${owner}/${repo}`,
|
|
method: 'get'
|
|
});
|
|
}
|