Skip to content

Commit f2fef32

Browse files
refactor: Update stop.js to return response object
1 parent 70a5a25 commit f2fef32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/RestAPI/stop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export default async function (stopID) {
1616
error(500, 'Unable to fetch arrivals-and-departures-for-stop.');
1717
}
1818

19-
return response;
19+
return json(response);
2020
}

0 commit comments

Comments
 (0)