Skip to content

Commit

Permalink
Fix: Handled Shashi's comment about apiFunction error code.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexappleget committed Oct 28, 2024
1 parent 36f4803 commit 6a7650a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/apiFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,6 @@ export async function getAllLeagueEntries({
});
return entries;
} catch (error) {
throw new Error('Error getting entries');
throw error;
}
}

0 comments on commit 6a7650a

Please sign in to comment.