This commit is contained in:
@@ -26,4 +26,9 @@ export const postService = {
|
||||
sendTo(id, userId) {
|
||||
return httpClient.post(`/posts/${id}/send-to/${userId}`);
|
||||
},
|
||||
}
|
||||
getBuyers(id, { page = 1, limit = 10 } = {}) {
|
||||
return httpClient.get(`/posts/${id}/buyers`, {
|
||||
params: { page, limit }
|
||||
});
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user