mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
interface: fix field name that broke GCP support
Tests would be great, wouldn't they...
This commit is contained in:
parent
c1b259af5b
commit
d8a7ee56e1
@ -23,8 +23,8 @@ const useStorage = (s3: S3State, gcp: GcpState,
|
||||
|
||||
useEffect(() => {
|
||||
// prefer GCP if available, else use S3.
|
||||
if (gcp.current !== undefined) {
|
||||
client.current = new GcpClient(gcp.current.accessKey);
|
||||
if (gcp.token !== undefined) {
|
||||
client.current = new GcpClient(gcp.token.accessKey);
|
||||
} else {
|
||||
// XX ships currently always have S3 credentials, but the fields are all
|
||||
// set to '' if they are not configured.
|
||||
|
Loading…
Reference in New Issue
Block a user