| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import type { AxiosInstance } from 'axios'; |
||
| 18 | |||
| 19 | public async needsApproval(): Promise<boolean> { |
||
| 20 | const headers = this.getBasicHeaders(); |
||
| 21 | const params = {}; |
||
| 22 | |||
| 23 | const { data } = await this.httpClient.get<boolean>( |
||
| 24 | `/${this.getApiBasePath()}/needs-approval`, |
||
| 25 | { params, headers }, |
||
| 26 | ); |
||
| 27 | |||
| 28 | return data; |
||
| 29 | } |
||
| 47 |