MCPcopy Index your code
hub / github.com/simstudioai/sim / appendBrexPagination

Function appendBrexPagination

apps/sim/tools/brex/utils.ts:46–52  ·  view source on GitHub ↗
(
  query: URLSearchParams,
  params: { cursor?: string; limit?: string }
)

Source from the content-addressed store, hash-verified

44 * Appends standard cursor/limit pagination parameters to a query.
45 */
46export 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

Callers 15

list_budgets.tsFile · 0.90
list_transfers.tsFile · 0.90
list_vendors.tsFile · 0.90
utils.test.tsFile · 0.90
list_users.tsFile · 0.90
list_locations.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected