diff options
| author | Teddy Wing | 2021-05-20 01:47:54 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2021-05-20 01:47:54 +0200 | 
| commit | badeb314efa44ef3dd5f7f85c5b7d923ec6484b9 (patch) | |
| tree | 3a856450d31de5a20f1251c97f83d0a440f15837 /TODO | |
| parent | df7c075aeb53a2808773f87bff0c4aa2ca4e1409 (diff) | |
| download | google-calendar-rsvp-badeb314efa44ef3dd5f7f85c5b7d923ec6484b9.tar.bz2 | |
Accept calendar event
In order to accept the event, we need to build an `Event` value with the
data that should be patched into the original. That value is then passed
in the `patch()` call to update the event.
The email address of the current user is required. I couldn't figure out
how best to get it, so I decided to keep the event `get()` call, and
grab the authenticated user's email address from there. This means it
requires two requests to accept the event, which is not ideal. Not sure
if there's a better way to get that information.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions
