Fix linter warnings on twofactor_backupcodes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
Roeland Jago Douma 2020-05-08 09:39:09 +02:00 committed by npmbuildbot[bot]
parent 885163e5d1
commit bc8e107d16
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)
}