mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Calendar isFollowing button
This commit is contained in:
@@ -727,6 +727,21 @@ const groupReq = {
|
||||
return request(`calendar/featured?date=${date}`, {
|
||||
method: 'GET'
|
||||
});
|
||||
},
|
||||
|
||||
followGroupEvent(params) {
|
||||
return request(`calendar/${params.groupId}/${params.eventId}/follow`, {
|
||||
method: 'POST',
|
||||
params: {
|
||||
isFollowing: params.isFollowing
|
||||
}
|
||||
}).then((json) => {
|
||||
const args = {
|
||||
json,
|
||||
params
|
||||
};
|
||||
return args;
|
||||
});
|
||||
}
|
||||
|
||||
// getRequestedGroups() {
|
||||
|
||||
Reference in New Issue
Block a user