From b2bdfe24599583cc556177f5dd33e06453415aa7 Mon Sep 17 00:00:00 2001 From: Eric Gustin <34000337+EricGustin@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:03:04 -0800 Subject: [PATCH] Least Privileged Scope for Update Calendar (#195) --- toolkits/google/arcade_google/tools/calendar.py | 2 +- toolkits/google/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkits/google/arcade_google/tools/calendar.py b/toolkits/google/arcade_google/tools/calendar.py index c1188cfb..691884c6 100644 --- a/toolkits/google/arcade_google/tools/calendar.py +++ b/toolkits/google/arcade_google/tools/calendar.py @@ -176,7 +176,7 @@ async def list_events( @tool( requires_auth=Google( - scopes=["https://www.googleapis.com/auth/calendar"], + scopes=["https://www.googleapis.com/auth/calendar.events"], ) ) async def update_event( diff --git a/toolkits/google/pyproject.toml b/toolkits/google/pyproject.toml index 10773f32..516e0de4 100644 --- a/toolkits/google/pyproject.toml +++ b/toolkits/google/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "arcade_google" -version = "0.1.8" +version = "0.1.9" description = "Arcade tools for the entire google suite" authors = ["Arcade AI "]