🐛 fix(rule_processor): update Gmail API scope
- modify scope to allow broader access to Gmail
This commit is contained in:
committed by
Jeremiah Russell
parent
eeeca08e92
commit
66b1263c99
@@ -185,7 +185,7 @@ impl RuleProcessor for GmailClient {
|
|||||||
.hub()
|
.hub()
|
||||||
.users()
|
.users()
|
||||||
.messages_batch_modify(batch_request, "me")
|
.messages_batch_modify(batch_request, "me")
|
||||||
.add_scope("https://www.googleapis.com/auth/gmail.modify")
|
.add_scope("https://www.google.com/")
|
||||||
.doit()
|
.doit()
|
||||||
.await
|
.await
|
||||||
.map_err(Box::new)?;
|
.map_err(Box::new)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user