( text: string, gravityApiKey: string | undefined, )
| 35 | } |
| 36 | |
| 37 | const redactGravityApiKey = ( |
| 38 | text: string, |
| 39 | gravityApiKey: string | undefined, |
| 40 | ) => (gravityApiKey ? text.split(gravityApiKey).join('[redacted]') : text) |
| 41 | |
| 42 | const withQuery = ( |
| 43 | path: string, |