* A static method so we can do: await API.getAuthToken()
()
| 105 | * A static method so we can do: await API.getAuthToken() |
| 106 | */ |
| 107 | static async getAuthToken() { |
| 108 | return await useAuthStore.getState().getToken(); |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Fetch all pages for a paginated endpoint when you already know totalCount. |
no outgoing calls
no test coverage detected