Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

refactor

Abhinave02f99618d85
diff --git a/apps/photos/src/services/HTTPService.ts b/apps/photos/src/services/HTTPService.ts
index ff4e7d7401..b42b16286b 100644
--- a/apps/photos/src/services/HTTPService.ts
+++ b/apps/photos/src/services/HTTPService.ts
@@ -21,9 +21,7 @@ class HTTPService {
(error) => {
const config = error.config as AxiosRequestConfig;
if (error.response) {
- const response = error.response as AxiosResponse<
- ApiError | any
- >;
+ const response = error.response as AxiosResponse;
let apiError: ApiError;
// The request was made and the server responded with a status code
// that falls out of the range of 2xx