-
Notifications
You must be signed in to change notification settings - Fork 633
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
#1990 is breaking my code:
I'm getting an error which is suppressed by makeAuthenticatedRequest.
The error which is suppressed: value.hasOwnProperty is not a function which is triggered on the line:
https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1990/files#diff-4ddf84f5cae46867fbddaf62136f04c3R521
The object value is looks something like this

Reverting to 0.47.0 fixes this for me.
I'm doing a File.save (from the storage module).
The config for storage is {projectId: '...'}. I'm using the credentials provided by de gcloud sdk.
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.