Skip to content

Commit

Permalink
!deploy v2.2.1 - resolve issue #25
Browse files Browse the repository at this point in the history
correct scope in Update-GSGmailAutoForwardingSettings
  • Loading branch information
scrthq committed Mar 28, 2018
1 parent 910f622 commit b02ec0e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

<!-- /TOC -->

## 2.2.1

* Fixed: `Update-GSGmailAutoForwardingSettings` returns a 403 due to incorrect scope [#25](https://github.com/scrthq/PSGSuite/issues/25)

## 2.2.0

Added the following:
Expand Down
2 changes: 1 addition & 1 deletion PSGSuite/PSGSuite.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PSGSuite.psm1'

# Version number of this module.
ModuleVersion = '2.1.7'
ModuleVersion = '2.2.1'

# ID used to uniquely identify this module
GUID = '9d751152-e83e-40bb-a6db-4c329092aaec'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Update-GSGmailAutoForwardingSettings {
$User = "$($User)@$($Script:PSGSuite.Domain)"
}
$serviceParams = @{
Scope = 'https://www.googleapis.com/auth/gmail.settings.basic'
Scope = 'https://www.googleapis.com/auth/gmail.settings.sharing'
ServiceType = 'Google.Apis.Gmail.v1.GmailService'
User = $User
}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ Update-GSSheetValue Export-GSSheet

### Most recent changes

#### 2.2.1

* Fixed: `Update-GSGmailAutoForwardingSettings` returns a 403 due to incorrect scope [#25](https://github.com/scrthq/PSGSuite/issues/25)

#### 2.2.0

Added the following:
Expand Down

0 comments on commit b02ec0e

Please sign in to comment.