Skip to content

Commit f0049b8

Browse files
Antreesybackportbot[bot]
authored andcommitted
fix: replace axios types import
- types are re-exported by @nextcloud/axios Signed-off-by: Maksim Sukharev <[email protected]>
1 parent 1a06401 commit f0049b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

6+
import type { AxiosRequestConfig, AxiosResponse } from '@nextcloud/axios'
67
import type { IAppSettings, INextcloud22LogEntry } from './interfaces'
7-
import type { AxiosRequestConfig, AxiosResponse } from 'axios'
88

99
import { generateUrl } from '@nextcloud/router'
1010
import axios from '@nextcloud/axios'

src/store/logging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

6-
import type { AxiosError } from 'axios'
6+
import type { AxiosError } from '@nextcloud/axios'
77
import type { ILogEntry } from '../interfaces'
88

99
import { defineStore } from 'pinia'

0 commit comments

Comments
 (0)