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

This commit is contained in:
2025-06-19 20:19:09 +03:00
parent 90a088e021
commit f728c5f5da
24 changed files with 512 additions and 183 deletions

View File

@@ -29,7 +29,7 @@ export default {
}
return null;
}
};
};
export async function getContacts() {
const res = await fetch('/api/users');

View File

@@ -6,7 +6,7 @@ export default {
const { data } = await axios.get(`/api/messages?userId=${userId}`);
return data;
}
};
};
export async function getAllMessages() {
const { data } = await axios.get('/api/messages');