(
query: URLSearchParams,
params: { cursor?: string; limit?: string }
)
| 44 | * Appends standard cursor/limit pagination parameters to a query. |
| 45 | */ |
| 46 | export function appendBrexPagination( |
| 47 | query: URLSearchParams, |
| 48 | params: { cursor?: string; limit?: string } |
| 49 | ): void { |
| 50 | if (params.cursor) query.append('cursor', params.cursor) |
| 51 | if (params.limit) query.append('limit', params.limit) |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Converts a timestamp to the timezone-less date-time form the Brex Transactions |
no outgoing calls
no test coverage detected