kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
familiarFollowers: id -> id[]
rodzic
c4d2990598
commit
bd81f40477
|
@ -17,7 +17,7 @@ export const fetchAccountFamiliarFollowers = (accountId: string) => (dispatch: A
|
|||
id: accountId,
|
||||
});
|
||||
|
||||
api(getState).get(`/api/v1/accounts/familiar_followers?id=${accountId}`)
|
||||
api(getState).get(`/api/v1/accounts/familiar_followers?id[]=${accountId}`)
|
||||
.then(({ data }) => {
|
||||
const accounts = data.find(({ id }: { id: string }) => id === accountId).accounts;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue