fix(server): Use correct scope for GCS tokens
This commit is contained in:
parent
3611baf040
commit
ab190256ab
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import (
|
||||||
var client = &http.Client{}
|
var client = &http.Client{}
|
||||||
|
|
||||||
// API scope needed for renaming objects in GCS
|
// API scope needed for renaming objects in GCS
|
||||||
const gcsScope = "https://www.googleapis.com/auth/devstorage"
|
const gcsScope = "https://www.googleapis.com/auth/devstorage.read_write"
|
||||||
|
|
||||||
type GCSBackend struct {
|
type GCSBackend struct {
|
||||||
bucket string
|
bucket string
|
||||||
|
|
Loading…
Add table
Reference in a new issue