Skip to content

Commit

Permalink
Fixed idea deletion error
Browse files Browse the repository at this point in the history
  • Loading branch information
KreativeThinker committed Apr 13, 2024
1 parent a91ad06 commit 849bb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/NewIdea.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
});
async function deleteIdea() {
const { data, error } = await supabase.from('ideas').delete().eq('team', $user.team);
const { data, error } = await supabase.from('ideas').delete().eq('team', $user.team).select();
if (error) {
console.log('Error retrieving idea', error.message);
}
Expand Down

0 comments on commit 849bb7b

Please sign in to comment.