Skip to content

Commit

Permalink
Merge pull request #2505 from nextcloud/chore/eslint-warning
Browse files Browse the repository at this point in the history
chore: silence eslint warning
  • Loading branch information
susnux authored Jan 20, 2025
2 parents 2b749bf + 9be4563 commit 9d65d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mixins/ViewsMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { generateOcsUrl } from '@nextcloud/router'
import { showError } from '@nextcloud/dialogs'
import { emit } from '@nextcloud/event-bus'
import axios from '@nextcloud/axios'
import axios, { isCancel } from '@nextcloud/axios'
import MarkdownIt from 'markdown-it'

import CancelableRequest from '../utils/CancelableRequest.js'
Expand Down Expand Up @@ -142,7 +142,7 @@ export default {
this.$emit('update:form', OcsResponse2Data(response))
this.isLoadingForm = false
} catch (error) {
if (axios.isCancel(error)) {
if (isCancel(error)) {
logger.debug(`The request for form ${id} has been canceled`, {
error,
})
Expand Down

0 comments on commit 9d65d90

Please sign in to comment.