Specify type for Account in AddListMember
This commit is contained in:
parent
17d708e7b9
commit
ec921bea93
|
@ -47,7 +47,7 @@ const actions: ActionTree<AddListMemberState, RootState> = {
|
||||||
commit(MUTATION_TYPES.UPDATE_ACCOUNTS, res.data)
|
commit(MUTATION_TYPES.UPDATE_ACCOUNTS, res.data)
|
||||||
return res.data
|
return res.data
|
||||||
},
|
},
|
||||||
add: async ({ state, rootState }, account: Account): Promise<{}> => {
|
add: async ({ state, rootState }, account: Entity.Account): Promise<{}> => {
|
||||||
const client = generator(
|
const client = generator(
|
||||||
rootState.TimelineSpace.sns,
|
rootState.TimelineSpace.sns,
|
||||||
rootState.TimelineSpace.account.baseURL,
|
rootState.TimelineSpace.account.baseURL,
|
||||||
|
|
Loading…
Reference in New Issue