()
| 35 | } |
| 36 | |
| 37 | export async function fetchClientSecret(): Promise<string> { |
| 38 | const response = await fetch(`${API_URL}/account_session`, { |
| 39 | method: 'POST', |
| 40 | }); |
| 41 | const json = await response.json(); |
| 42 | const { clientSecret } = json; |
| 43 | |
| 44 | return clientSecret; |
| 45 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…