rantscript
Advanced tools
+1
-1
| { | ||
| "name": "rantscript", | ||
| "version": "1.3.7", | ||
| "version": "1.3.8", | ||
| "description": "A JavaScript wrapper for the FULL devRant API", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
+4
-1
@@ -140,5 +140,7 @@ 'use strict'; | ||
| function postRant(rant, tags, token, imagePath) { | ||
| function postRant(rant, tags, type, token, imagePath) { | ||
| const url = `${variables['API']}/devrant/rants`; | ||
| if(type == undefined) {type = 1} | ||
| const token_id = token["id"]; | ||
@@ -153,2 +155,3 @@ const token_key = token["key"]; | ||
| tags: tags, | ||
| type: type, | ||
| token_id: token_id, | ||
@@ -155,0 +158,0 @@ token_key: token_key, |
98222
0.06%600
0.33%