refactor: изменена структура передаваемой информации между файлами "Logic" и "API"

This commit is contained in:
Vladiysss
2026-03-07 16:58:33 +03:00
parent 574562361a
commit ac1b6212e6
3 changed files with 127 additions and 160 deletions

View File

@@ -81,3 +81,7 @@ export const deleteBoardsAPI = async (boardId) => {
data: {id: boardId}
});
};
export const meAPI = () => {
return axios.get('/api/users/me');
};