added new api callout for getting room memebers

This commit is contained in:
mushka 2022-09-06 23:36:59 +03:00
parent 8efb2a3fb0
commit b2caacc54b

View File

@ -33,6 +33,17 @@ export function getRoomInfo(id) {
});
}
export function getRoomMembers(id) {
const options = {
method: "get",
url: `/files/rooms/${id}/share`,
};
return request(options).then((res) => {
return res;
});
}
export function createRoom(data) {
const options = { method: "post", url: `/files/rooms`, data };