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:
parent
885163e5d1
commit
bc8e107d16
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue