ваше сообщение коммита
This commit is contained in:
@@ -6,4 +6,9 @@ export default {
|
||||
const { data } = await axios.get(`/api/messages?userId=${userId}`);
|
||||
return data;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
export async function getAllMessages() {
|
||||
const { data } = await axios.get('/api/messages');
|
||||
return data;
|
||||
}
|
||||
Reference in New Issue
Block a user