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';
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 response = await axios({
method: 'POST',
@ -15,7 +16,7 @@ export default {
loginName: email,
Password: password,
Symbol: symbol,
diaryUrl: diaryUrl,
diaryUrl,
},
});

View file

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