GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — getSignedUrl called synchronously ? · Issue #251 · googleapis/google-cloud-node Closed Labels api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue. Milestone DescriptionI have a simple functions that returns a signed url : var options = config.gs , expires = Math.round(Date.now() / 1000) + (60 * 60 * 24 * 14) , bucket = project.storage.bucket({bucketName: config.gs.bucket, credentials: config.gs }) options.action = 'read' options.expires = expires// 2 weeks. options.resource= url signed_url = bucket.getSignedUrl(options, function(err, url_signed) {}) return signed_url I cannot understand how to call it synchronously. The signed_url is always undefined but inside the callback the url_signed is correctly set. So if I log the signed_url and the url_signed i get: Activity
MetadataMetadataAssigneesLabelsapi: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |