This commit is contained in:
Nukeap committed 2025-01-13 08:13:58 +03:00
1 parent 02bd680383
commit 00263e6abc
2 files changed
+9 -7

No files matched your search

+7 -5
View File
@@ -90,11 +90,13 @@ async error => {
async function getVotes(status) {
try {
const response = await axiosApiInstance.post('/api/vote/getvotes/', {
params: {
status,
}
});
const response = await axiosApiInstance.get(`/api/vote/getvotes?status=${status}`,
// {
// params: {
// status,
// }
// }
);
return response.data;
} catch (error) {
console.error('Ошибка запроса голосования:', error);