chore: remove upgrade version banner

This commit is contained in:
Steven
2023-11-06 20:51:59 +08:00
parent 981bfe0464
commit 865cc997a4
13 changed files with 324 additions and 405 deletions

View File

@ -179,13 +179,3 @@ export function patchIdentityProvider(identityProviderPatch: IdentityProviderPat
export function deleteIdentityProvider(id: IdentityProviderId) {
return axios.delete(`/api/v1/idp/${id}`);
}
export async function getRepoLatestTag() {
const { data } = await axios.get(`https://api.github.com/repos/usememos/memos/tags`, {
headers: {
Accept: "application/vnd.github.v3.star+json",
Authorization: "",
},
});
return data[0].name as string;
}