Birthdays: use the new route
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
7da12b1526
commit
bcc0e0983b
|
@ -1043,7 +1043,7 @@ export function fetchBirthdayReminders(day, month) {
|
||||||
|
|
||||||
dispatch({ type: BIRTHDAY_REMINDERS_FETCH_REQUEST, day, month, id: me });
|
dispatch({ type: BIRTHDAY_REMINDERS_FETCH_REQUEST, day, month, id: me });
|
||||||
|
|
||||||
api(getState).get('/api/v1/pleroma/birthday_reminders', { params: { day, month } }).then(response => {
|
api(getState).get('/api/v1/pleroma/birthdays', { params: { day, month } }).then(response => {
|
||||||
dispatch(importFetchedAccounts(response.data));
|
dispatch(importFetchedAccounts(response.data));
|
||||||
dispatch({
|
dispatch({
|
||||||
type: BIRTHDAY_REMINDERS_FETCH_SUCCESS,
|
type: BIRTHDAY_REMINDERS_FETCH_SUCCESS,
|
||||||
|
|
Loading…
Reference in New Issue