mirror of
https://github.com/plankanban/planka.git
synced 2025-12-23 01:11:40 +03:00
feat: Store accessToken in cookies instead of localStorage
This commit is contained in:
@@ -9,8 +9,8 @@ export const transformAction = (action) => ({
|
||||
|
||||
/* Actions */
|
||||
|
||||
const getActions = (cardId, data, headers) =>
|
||||
socket.get(`/cards/${cardId}/actions`, data, headers).then((body) => ({
|
||||
const getActions = (cardId, data) =>
|
||||
socket.get(`/cards/${cardId}/actions`, data).then((body) => ({
|
||||
...body,
|
||||
items: body.items.map(transformAction),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user