mutation addNewStatuses should not perform side-effects #1360

Open
opened 2025-02-28 15:35:47 +00:00 by tusooa · 0 comments
Owner

it calls addStatusToGlobalStorage, which calls getLatestScrobble, which makes an HTTP request. It also doesn't properly set the authorization header.

<!-- please use one of the templates if applicable, otherwise - type out here in free-form --> it calls [addStatusToGlobalStorage](https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/src/modules/statuses.js?ref_type=heads#L177), which calls [getLatestScrobble](https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/src/modules/statuses.js?ref_type=heads#L127), which makes an HTTP request. It also doesn't properly set the authorization header.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#1360
No description provided.