Skip to content

Commit

Permalink
🐛 0.1.1, Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
metowolf committed Oct 23, 2018
1 parent 54c864a commit 1755285
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/smms.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const version = require('../package.json').version

module.exports = {

VERSION: version
VERSION: version,

api: {
upload: 'https://sm.ms/api/upload',
Expand Down Expand Up @@ -49,7 +49,7 @@ module.exports = {

delete(hash) {
return request.get({
url: this.api.delete,
url: this.api.delete + hash,
headers: this.headers,
qs: {
format: 'json'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "smms-cli",
"version": "0.1.0",
"version": "0.1.1",
"description": "Upload images to sm.ms",
"main": "lib/smms.js",
"repository": "https://github.com/metowolf/smms-cli.git",
Expand Down

0 comments on commit 1755285

Please sign in to comment.