added new api callout for getting room memebers
This commit is contained in:
parent
8efb2a3fb0
commit
b2caacc54b
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user