chore: update about dialog

This commit is contained in:
Steven
2023-10-28 15:17:33 +08:00
parent d02105ca30
commit f5c1e79195
4 changed files with 9 additions and 70 deletions

View File

@ -180,16 +180,6 @@ export function deleteIdentityProvider(id: IdentityProviderId) {
return axios.delete(`/api/v1/idp/${id}`);
}
export async function getRepoStarCount() {
const { data } = await axios.get(`https://api.github.com/repos/usememos/memos`, {
headers: {
Accept: "application/vnd.github.v3.star+json",
Authorization: "",
},
});
return data.stargazers_count as number;
}
export async function getRepoLatestTag() {
const { data } = await axios.get(`https://api.github.com/repos/usememos/memos/tags`, {
headers: {