Skip to content

Commit

Permalink
change proposal status
Browse files Browse the repository at this point in the history
  • Loading branch information
scammo committed Jan 9, 2024
1 parent fd9335d commit 7898b72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/ProposalStatusForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ onMounted(() => {
const updateProposalStatus = async () => {
loading.value = true;
try {
// TODO: Build API Call
await client.post(`proposal/${proposalId}/updateStatus`, {
status: statusForm.value,
});
router.go();
} catch (error) {
console.error(error);
Expand Down

0 comments on commit 7898b72

Please sign in to comment.