(
endpoint: string,
options?: Record<string, unknown>
)
| 144 | } |
| 145 | |
| 146 | private serializeCacheKey( |
| 147 | endpoint: string, |
| 148 | options?: Record<string, unknown> |
| 149 | ) { |
| 150 | if (!options) { |
| 151 | return `${this.baseUrl}${endpoint}`; |
| 152 | } |
| 153 | |
| 154 | return `${this.baseUrl}${endpoint}${JSON.stringify(options)}`; |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | export default ExternalAPI; |
no outgoing calls
no test coverage detected