fix upload endpoint
This commit is contained in:
parent
11a22df7ea
commit
676f5713ed
|
@ -1,5 +1,4 @@
|
||||||
# v1.1.1
|
# v1.1.2
|
||||||
## cli
|
## cli
|
||||||
- added some command aliases
|
- fixed upload endpoint
|
||||||
- added rand command
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "cli"
|
name = "cli"
|
||||||
version = "1.1.1"
|
version = "1.1.2"
|
||||||
authors = ["LordMZTE <lord@mzte.de>"]
|
authors = ["LordMZTE <lord@mzte.de>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
|
|
|
@ -37,7 +37,7 @@ pub async fn run(
|
||||||
|
|
||||||
let res = client
|
let res = client
|
||||||
.http
|
.http
|
||||||
.post("https://data.tilera.xyz/api/jensmemes/upload")
|
.post("https://api.tilera.xyz/jensmemes/v1/upload")
|
||||||
.multipart(
|
.multipart(
|
||||||
Form::new()
|
Form::new()
|
||||||
.text("category", category)
|
.text("category", category)
|
||||||
|
|
Loading…
Reference in New Issue