first
This commit is contained in:
parent
8e3e7e1d3d
commit
be13e954bd
6 changed files with 6 additions and 6 deletions
|
@ -664,7 +664,7 @@ def submit_post(v):
|
|||
author_id=v.id,
|
||||
over_18=bool(request.values.get("over_18","")),
|
||||
app_id=v.client.application.id if v.client else None,
|
||||
is_bot = request.headers.get("X-User-Type","").lower()=="bot",
|
||||
is_bot = request.headers.get("Authorization"),
|
||||
url=url,
|
||||
body=body,
|
||||
body_html=body_html,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue