Skip to content

Commit c70f834

Browse files
authored
Merge pull request #1558 from nextcloud/backport/1557/stable31
[stable31] fix: replace `axios` types import source
2 parents 1a06401 + 70c8b6b commit c70f834

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

js/logreader-main.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"@nextcloud/router": "^3.0.0",
4141
"@nextcloud/typings": "^1.9.1",
4242
"@nextcloud/vue": "^8.22.0",
43-
"axios": "^1.7.9",
4443
"date-fns": "^3.6.0",
4544
"highlight.js": "^11.11.1",
4645
"json-string-splitter": "^1.0.0",

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)