fix(server): Use correct scope for GCS tokens

This commit is contained in:
Vincent Ambo 2019-10-28 20:04:41 +01:00 committed by Vincent Ambo
parent 3611baf040
commit ab190256ab

View file

@ -20,7 +20,7 @@ import (
var client = &http.Client{}
// 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 {
bucket string