fix upload endpoint

This commit is contained in:
LordMZTE 2022-01-09 00:40:44 +01:00
parent 11a22df7ea
commit 676f5713ed
3 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,4 @@
# v1.1.1 # v1.1.2
## cli ## cli
- added some command aliases - fixed upload endpoint
- added rand command

View File

@ -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"

View File

@ -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)