diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2020-03-29 04:48:33 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-03-31 10:45:20 +0300 |
commit | 4d2d44e8b12e8e0cd77dc4be25221e0549afb14b (patch) | |
tree | 7d02b30dd9c5493088a7a6fc7b6230daa5350115 /src | |
parent | 0384764612b244d3f71041e3a6422084b3be907d (diff) |
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] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/PersonalTotpSettings.vue | 4 | ||||
-rw-r--r-- | src/services/StateService.js | 2 |
2 files changed, 3 insertions, 3 deletions
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) |