From 9108737d55300d8a4f822ba94335d8b53f04854d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 7 Apr 2019 20:33:11 +0300 Subject: Webpack 4, ESLint with Vue, Node-sass, updated dependencies overall. New linting. --- src/services/new_api/oauth.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/services/new_api/oauth.js') diff --git a/src/services/new_api/oauth.js b/src/services/new_api/oauth.js index 9e656507..6dddf37f 100644 --- a/src/services/new_api/oauth.js +++ b/src/services/new_api/oauth.js @@ -1,6 +1,6 @@ -import {reduce} from 'lodash' +import { reduce } from 'lodash' -const getOrCreateApp = ({oauth, instance}) => { +const getOrCreateApp = ({ oauth, instance }) => { const url = `${instance}/api/v1/apps` const form = new window.FormData() @@ -40,7 +40,7 @@ const login = (args) => { }) } -const getTokenWithCredentials = ({app, instance, username, password}) => { +const getTokenWithCredentials = ({ app, instance, username, password }) => { const url = `${instance}/oauth/token` const form = new window.FormData() @@ -56,7 +56,7 @@ const getTokenWithCredentials = ({app, instance, username, password}) => { }).then((data) => data.json()) } -const getToken = ({app, instance, code}) => { +const getToken = ({ app, instance, code }) => { const url = `${instance}/oauth/token` const form = new window.FormData() -- cgit v1.2.3-70-g09d2