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';
|
||||
|
||||
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,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
interface LoginForm {
|
||||
login: String,
|
||||
password: String,
|
||||
domains: Array<String>,
|
||||
selectedSymbol: String
|
||||
}
|
Loading…
Reference in a new issue