dsfdsf
This commit is contained in:
parent
1ee1cf5637
commit
7dde50d442
1 changed files with 1 additions and 0 deletions
|
@ -557,6 +557,7 @@ def submit_post(v):
|
|||
if "/" in id: id = id.split("/")[0]
|
||||
embed = id
|
||||
else: embed = None
|
||||
else: embed = None
|
||||
|
||||
if not url and not request.values.get("body") and not request.files.get("file", None):
|
||||
if request.headers.get("Authorization"): return {"error": "`url` or `body` parameter required."}, 400
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue