diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 18:32:57 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:05 +0100 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /apps/twofactor_backupcodes | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) | |
download | nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.tar.gz nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.zip |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/twofactor_backupcodes')
-rw-r--r-- | apps/twofactor_backupcodes/src/service/BackupCodesService.js | 3 | ||||
-rw-r--r-- | apps/twofactor_backupcodes/src/service/PrintService.js | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/src/service/BackupCodesService.js b/apps/twofactor_backupcodes/src/service/BackupCodesService.js index 856c4ace0b8..3674a6fccdc 100644 --- a/apps/twofactor_backupcodes/src/service/BackupCodesService.js +++ b/apps/twofactor_backupcodes/src/service/BackupCodesService.js @@ -25,6 +25,9 @@ import Axios from '@nextcloud/axios' import { generateUrl } from '@nextcloud/router' +/** + * + */ export function generateCodes() { const url = generateUrl('/apps/twofactor_backupcodes/settings/create') diff --git a/apps/twofactor_backupcodes/src/service/PrintService.js b/apps/twofactor_backupcodes/src/service/PrintService.js index 2e73e62f525..e8b31516532 100644 --- a/apps/twofactor_backupcodes/src/service/PrintService.js +++ b/apps/twofactor_backupcodes/src/service/PrintService.js @@ -21,6 +21,9 @@ * */ +/** + * @param data + */ export function print(data) { const name = OC.theme.name || 'Nextcloud' const newTab = window.open('', t('twofactor_backupcodes', '{name} backup codes', { name })) |