Skip to content

Commit

Permalink
fix: create
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Apr 30, 2020
1 parent 4cb30ae commit 528ead8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dist/next-tx-cos-bucket.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/next-tx-cos-bucket.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/next-tx-cos-bucket.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@feizheng/next-tx-cos-bucket",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tencent cos bucket for next.",
"homepage": "https://github.com/afeiship/next-tx-cos-bucket",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/next-tx-cos-bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
var self = this;
var options = nx.mix(null, { ACL: 'public-read' }, inOptions);
return new Promise(function (resolve, reject) {
self.has(inOptions).then(function (ret) {
self.has(options).then(function (ret) {
if (!ret) {
self
.put(options)
Expand Down

0 comments on commit 528ead8

Please sign in to comment.