Calendar isFollowing button

This commit is contained in:
Natsumi
2025-11-07 16:50:17 +11:00
parent 18c2b42852
commit 9ef0b6fa12
4 changed files with 64 additions and 7 deletions

View File

@@ -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() {