Skip to content

Commit

Permalink
stable17 Use @nextcloud/axios so the csrf token gets refreshed
Browse files Browse the repository at this point in the history
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
  • Loading branch information
rullzer authored and npmbuildbot[bot] committed Nov 13, 2019
1 parent 2c73cbb commit 5a7bccf
Show file tree
Hide file tree
Showing 7 changed files with 838 additions and 413 deletions.
8 changes: 4 additions & 4 deletions js/notifications.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/notifications.js.map

Large diffs are not rendered by default.

1,233 changes: 829 additions & 404 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"lint:fix": "eslint --ext .js,.vue src --fix"
},
"dependencies": {
"@nextcloud/axios": "^0.5.0",
"lodash": "^4.17.15",
"nextcloud-axios": "^0.2.1",
"vue": "^2.6.10"
},
"browserslist": [
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<script>
import Notification from './components/Notification'
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
import _ from 'lodash'
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Action.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</template>

<script>
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
export default {
name: 'Action',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>

<script>
import axios from 'nextcloud-axios'
import axios from '@nextcloud/axios'
import Action from './Action'
import parser from '../richObjectStringParser'
Expand Down

0 comments on commit 5a7bccf

Please sign in to comment.