()
| 605 | } |
| 606 | |
| 607 | function getAuthHeaders() { |
| 608 | return { |
| 609 | 'Content-Type': 'application/json', |
| 610 | 'Authorization': `Bearer ${AppState.authToken}` |
| 611 | }; |
| 612 | } |
| 613 | |
| 614 | function formatFileSize(bytes) { |
| 615 | if (bytes < 1024) return bytes + ' B'; |
no outgoing calls
no test coverage detected