Skip to content

Commit c781d26

Browse files
committed
fix: proper description
1 parent be86e38 commit c781d26

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Get the currently active routes
33
* @param {string} auth Authentication to use for the request
4-
* @returns {Route[]} list of route names ("01", "04", etc.)
4+
* @returns {Route[]} list of all active routes
55
*/
66
export async function getBaseData(auth: string) {
77
var res = await fetch(`https://ridebtd.org/Services/JSONPRelay.svc/GetRoutesForMapWithScheduleWithEncodedLine?apiKey=${auth}&isDispatch=false`)

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ declare module 'brazos-transit-api' {
125125
/**
126126
* Get the currently active routes
127127
* @param {string} auth Authentication to use for the request
128-
* @returns {Route[]} list of route names ("01", "04", etc.)
128+
* @returns {Route[]} list of all active routes
129129
*/
130130
export async function getBaseData(auth: string): Promise<Route[]>
131131

0 commit comments

Comments
 (0)