mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #20875 from nextcloud/warn/js/twofactor_backupcodes
Fix linter warnings on twofactor_backupcodes
This commit is contained in:
commit
67db893735
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
|
|
@ -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 a new issue