mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove upgrade version banner
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user