Skip to content

Commit

Permalink
fix: link in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
beajer committed Mar 1, 2021
1 parent 89d0e77 commit 6a9c015
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ All operation use es7 async/await to implement. All api is async function.
- [Node Usage](#node-usage)
- [Browser Usage](#browser-usage)
- [Data Regions](#data-regions)
- [Create Account](#create-acount)
- [Create Account](#create-account)
- [Create A Bucket Instance](#create-a-bucket-instance)
- [oss(options)](#ossoptions)
- [Bucket Operations](#bucket-operations)
Expand Down Expand Up @@ -97,9 +97,9 @@ All operation use es7 async/await to implement. All api is async function.
- [.getBucketRequestPayment(bucketName[, options])](#getbucketrequestpaymentbucketname-options)
- [.putBucketRequestPayment(bucketName, payer[, options])](#putBucketRequestpaymentbucketname-payer-options)
- BucketEncryption
- [.putBucketEncryption(name[, options])](#putbucketencryptionbucketname-options)
- [.getBucketEncryption(name)](#getbucketencryptionbucketname-options)
- [.deleteBucketEncryption(name)](#deletebucketencryptionbucketname-options)
- [.putBucketEncryption(name[, rules])](#putbucketencryptionname-rules)
- [.getBucketEncryption(name)](#getbucketencryptionname)
- [.deleteBucketEncryption(name)](#deletebucketencryptionname)
- tagging
- [.putBucketTags(name, tag[, options])](#putBucketTagsname-tag-options)
- [.getBucketTags(name, [, options])](#getBucketTagsname-options)
Expand Down Expand Up @@ -152,7 +152,7 @@ All operation use es7 async/await to implement. All api is async function.
- [.completeMultipartUpload(name, uploadId, parts[, options])](#completemultipartuploadname-uploadid-parts-options)
- [.multipartUpload(name, file[, options])](#multipartuploadname-file-options)
- [.multipartUploadCopy(name, sourceData[, options])](#multipartuploadcopyname-sourcedata-options)
- [.listParts(name, uploadId[, query, options])](#listparts-name-uploadid-query-options)
- [.listParts(name, uploadId[, query, options])](#listpartsname-uploadid-query-options)
- [.listUploads(query[, options])](#listuploadsquery-options)
- [.abortMultipartUpload(name, uploadId[, options])](#abortmultipartuploadname-uploadid-options)
- [.calculatePostSignature(policy)](#calculatePostSignaturepolicy)
Expand Down Expand Up @@ -418,6 +418,7 @@ Success will return buckets list on `buckets` properties.
- name {String} bucket name
- region {String} bucket store data region, e.g.: `oss-cn-hangzhou-a`
- creationDate {String} bucket create GMT date, e.g.: `2015-02-19T08:39:44.000Z`
- storageClass {String} e.g.: `Standard`, `IA`, `Archive`
- owner {Object} object owner, including `id` and `displayName`
- isTruncated {Boolean} truncate or not
- nextMarker {String} next marker string
Expand Down
1 change: 1 addition & 0 deletions lib/bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ proto.listBuckets = async function listBuckets(query = {}, options = {}) {
name: item.Name,
region: item.Location,
creationDate: item.CreationDate,
storageClass: item.StorageClass,
StorageClass: item.StorageClass,
tag: formatTag(item)
}));
Expand Down

0 comments on commit 6a9c015

Please sign in to comment.