Fix linter errors

This commit is contained in:
MRmlik12 2021-06-15 23:16:31 +02:00
parent 3a8faad198
commit ebb457f58d
2 changed files with 3 additions and 8 deletions

View file

@ -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,
}, },
}); });

View file

@ -1,6 +0,0 @@
interface LoginForm {
login: String,
password: String,
domains: Array<String>,
selectedSymbol: String
}