Skip to content

Commit

Permalink
fix: 🐛 make login fn asyncronous
Browse files Browse the repository at this point in the history
  • Loading branch information
slugb0t committed Dec 11, 2024
1 parent 4c77ab1 commit 5bffc66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,9 @@ const validateZenodoForm = () => {
});
};
const loginToZenodo = () => {
const loginToZenodo = async () => {
// Send api request to purge the Zenodo token
$fetch(`/api/user/zenodo`, {
await $fetch(`/api/user/zenodo`, {
headers: useRequestHeaders(["cookie"]),
method: "DELETE",
})
Expand Down

0 comments on commit 5bffc66

Please sign in to comment.