diff --git a/README.md b/README.md index 1ace692c..fdd1f84b 100644 --- a/README.md +++ b/README.md @@ -4,20 +4,13 @@
The sleekest looking WebUI for qBittorrent made with Vue.js!
-![Vue](https://img.shields.io/badge/Vue-%5E2.7.14-brightgreen) -![qBittorrent](https://img.shields.io/badge/qBittorrent-4.4%2B-brightgreen) +![Vue](https://img.shields.io/badge/Vue-%5E2.7.14-brightgreen) ![qBittorrent](https://img.shields.io/badge/qBittorrent-4.4%2B-brightgreen) ![Vuetify](https://img.shields.io/badge/Vuetify-%5E2.6.10-brightgreen) -![stars](https://img.shields.io/github/stars/WDaan/VueTorrent) -![Forks](https://img.shields.io/github/forks/WDaan/VueTorrent) -![Issues](https://img.shields.io/github/issues/WDaan/VueTorrent) -![Closed](https://img.shields.io/github/issues-closed/WDaan/VueTorrent) -![Closed PR](https://img.shields.io/github/issues-pr-closed/WDaan/VueTorrent) -![Version](https://img.shields.io/github/v/release/wdaan/vuetorrent) -![Test Status](https://img.shields.io/github/actions/workflow/status/wdaan/vuetorrent/test.yml) -![Downloads](https://img.shields.io/github/downloads/WDaan/VueTorrent/total) - - +![stars](https://img.shields.io/github/stars/WDaan/VueTorrent) ![Forks](https://img.shields.io/github/forks/WDaan/VueTorrent) +![Issues](https://img.shields.io/github/issues/WDaan/VueTorrent) ![Closed](https://img.shields.io/github/issues-closed/WDaan/VueTorrent) +![Closed PR](https://img.shields.io/github/issues-pr-closed/WDaan/VueTorrent) ![Version](https://img.shields.io/github/v/release/wdaan/vuetorrent) +![Test Status](https://img.shields.io/github/actions/workflow/status/wdaan/vuetorrent/test.yml) ![Downloads](https://img.shields.io/github/downloads/WDaan/VueTorrent/total) ## Screenshots diff --git a/src/services/qbit.ts b/src/services/qbit.ts index f7ccab9c..f3a078bc 100644 --- a/src/services/qbit.ts +++ b/src/services/qbit.ts @@ -1,4 +1,4 @@ -import axios from 'axios' +import axios, { AxiosError } from 'axios' import type { AxiosInstance } from 'axios' import type { ApplicationVersion, @@ -81,7 +81,7 @@ export class QBitApi { } async getMainData(rid?: number): Promise