Fix linter errors
This commit is contained in:
parent
3a8faad198
commit
ebb457f58d
2 changed files with 3 additions and 8 deletions
|
@ -2,7 +2,8 @@ import axios, { AxiosResponse } from 'axios';
|
||||||
import Cookies from 'universal-cookie';
|
import Cookies from 'universal-cookie';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
login: async (email: string, password: string, symbol: string, diaryUrl: string): Promise<AxiosResponse> => {
|
login: async (email: string, password: string, symbol: string, diaryUrl: string)
|
||||||
|
: Promise<AxiosResponse> => {
|
||||||
const cookies = new Cookies();
|
const cookies = new Cookies();
|
||||||
const response = await axios({
|
const response = await axios({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
@ -15,7 +16,7 @@ export default {
|
||||||
loginName: email,
|
loginName: email,
|
||||||
Password: password,
|
Password: password,
|
||||||
Symbol: symbol,
|
Symbol: symbol,
|
||||||
diaryUrl: diaryUrl,
|
diaryUrl,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
interface LoginForm {
|
|
||||||
login: String,
|
|
||||||
password: String,
|
|
||||||
domains: Array<String>,
|
|
||||||
selectedSymbol: String
|
|
||||||
}
|
|
Loading…
Reference in a new issue