|
|
@@ -27,7 +27,7 @@ BASE = "https://batbin.me/"
|
|
|
|
|
|
|
|
|
async def paste(content: str):
|
|
|
- resp = await post(f"{BASE}api/paste", data={"content": content})
|
|
|
- if not resp["status"]:
|
|
|
+ resp = await post(f"{BASE}api/v2/paste", data=content)
|
|
|
+ if not resp["success"]:
|
|
|
return
|
|
|
return BASE + resp["message"]
|