mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 06:01:51 +00:00
fix(server): Use correct scope for GCS tokens
This commit is contained in:
parent
5ebfdd379b
commit
9e565e6770
|
@ -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…
Reference in New Issue
Block a user