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

Function authHeaders

apps/sim/connectors/sentry/sentry.ts:176–181  ·  view source on GitHub ↗

* Builds the standard JSON request headers carrying the Sentry auth token.

(accessToken: string)

Source from the content-addressed store, hash-verified

174 * Builds the standard JSON request headers carrying the Sentry auth token.
175 */
176function authHeaders(accessToken: string): Record<string, string> {
177 return {
178 Authorization: `Bearer ${accessToken}`,
179 'Content-Type': 'application/json',
180 }
181}
182
183/**
184 * Reads the `cursor` of the `rel="next"` link from a Sentry `Link` header.

Callers 2

fetchLatestEventFunction · 0.70
sentry.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected