Skip to content

Commit a7d42a3

Browse files
authored
fix: codecov api
1 parent 525bf6b commit a7d42a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/codecov.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function removeBackPointer(root:SunBurstData) {
147147
export const getTotalCov = async (): Promise<Coverages> => {
148148
return (
149149
await axios.get<Coverages>(
150-
"https://apt.lang.pivotstudio.cn/api/v2/github/Pivot-Studio/repos/pivot-lang/totals/?branch=master",
150+
"https://codecov.io/api/v2/github/Pivot-Studio/repos/pivot-lang/totals/?branch=master",
151151
{
152152
headers: {
153153
accept: "application/json",
@@ -156,4 +156,4 @@ export const getTotalCov = async (): Promise<Coverages> => {
156156
}
157157
)
158158
).data;
159-
};
159+
};

0 commit comments

Comments
 (0)