(token: string)
| 289 | } |
| 290 | |
| 291 | function buildUploadTicketAuthHeaders(token: string): Record<string, string> { |
| 292 | return { |
| 293 | authorization: `Bearer ${token}`, |
| 294 | 'x-agent-device-token': token, |
| 295 | }; |
| 296 | } |
| 297 | |
| 298 | function resolveHttpRequestBaseUrl(req: http.IncomingMessage): string { |
| 299 | const host = typeof req.headers.host === 'string' ? req.headers.host : ''; |
no outgoing calls
no test coverage detected
searching dependent graphs…