Skip to content

Commit

Permalink
Fix hanging error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArktinenKarpalo committed Dec 18, 2024
1 parent 90eb75e commit 2069582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/transit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const getTransitData = async (): Promise<TransitData> => {
},
{
next: (data) => (result = data.data),
error: () => reject,
error: reject,
complete: () => {
if(result)
resolve(result)
Expand Down

0 comments on commit 2069582

Please sign in to comment.