Merge pull request #20875 from nextcloud/warn/js/twofactor_backupcodes

Fix linter warnings on twofactor_backupcodes
This commit is contained in:
Roeland Jago Douma 2020-05-08 15:01:37 +02:00 committed by GitHub
commit 67db893735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,8 @@
import Axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
export function generateCodes() {
const url = OC.generateUrl('/apps/twofactor_backupcodes/settings/create')
const url = generateUrl('/apps/twofactor_backupcodes/settings/create')
return Axios.post(url, {}).then(resp => resp.data)
}