Skip to content

Commit

Permalink
refactor: Update stop.js to return response object
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Aug 21, 2024
1 parent 70a5a25 commit f2fef32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/RestAPI/stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export default async function (stopID) {
error(500, 'Unable to fetch arrivals-and-departures-for-stop.');
}

return response;
return json(response);
}

0 comments on commit f2fef32

Please sign in to comment.