From 4d2d44e8b12e8e0cd77dc4be25221e0549afb14b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sun, 29 Mar 2020 01:48:33 +0000 Subject: Bump prettier from 1.19.1 to 2.0.2 Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.2) Signed-off-by: dependabot-preview[bot] Signed-off-by: Christoph Wurst --- src/components/PersonalTotpSettings.vue | 4 ++-- src/services/StateService.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/PersonalTotpSettings.vue b/src/components/PersonalTotpSettings.vue index 5ad0494..9605f3c 100644 --- a/src/components/PersonalTotpSettings.vue +++ b/src/components/PersonalTotpSettings.vue @@ -108,7 +108,7 @@ export default { this.loading = this.$store.state.totpState === state.STATE_CREATED }) - .catch(e => { + .catch((e) => { OC.Notification.showTemporary( t('twofactor_totp', 'Could not enable TOTP') ) @@ -117,7 +117,7 @@ export default { // Restore on error this.loading = false }) - .catch(e => Logger.error(e)) + .catch((e) => Logger.error(e)) }, enableTOTP() { diff --git a/src/services/StateService.js b/src/services/StateService.js index 081e92b..5f4f3f5 100644 --- a/src/services/StateService.js +++ b/src/services/StateService.js @@ -22,7 +22,7 @@ import Axios from '@nextcloud/axios' import { generateUrl } from '@nextcloud/router' -export const saveState = async data => { +export const saveState = async (data) => { const url = generateUrl('/apps/twofactor_totp/settings/enable') const resp = await Axios.post(url, data) -- cgit v1.2.3