ваше сообщение коммита

This commit is contained in:
2025-07-04 16:48:56 +03:00
parent 3adb469a37
commit 6182c2ced1
13 changed files with 2364 additions and 27 deletions

View File

@@ -28,6 +28,14 @@ export default {
return res.data;
}
return null;
},
async blockContact(id) {
const res = await api.patch(`/api/users/${id}/block`);
return res.data;
},
async unblockContact(id) {
const res = await api.patch(`/api/users/${id}/unblock`);
return res.data;
}
};