remove token
This commit is contained in:
parent
ddcc45104d
commit
27ed99e06e
1 changed files with 2 additions and 3 deletions
|
@ -250,7 +250,7 @@ def make_posts(
|
||||||
if params["stacosys_url"] and is_page_comment_enabled:
|
if params["stacosys_url"] and is_page_comment_enabled:
|
||||||
req_url = params["stacosys_url"] + "/comments"
|
req_url = params["stacosys_url"] + "/comments"
|
||||||
query_params = dict(
|
query_params = dict(
|
||||||
token=params["stacosys_token"], url="/" + page_params["post_url"]
|
url="/" + page_params["post_url"]
|
||||||
)
|
)
|
||||||
resp = requests.get(url=req_url, params=query_params)
|
resp = requests.get(url=req_url, params=query_params)
|
||||||
comments = resp.json()["data"]
|
comments = resp.json()["data"]
|
||||||
|
@ -350,7 +350,6 @@ def main():
|
||||||
"author": "Admin",
|
"author": "Admin",
|
||||||
"site_url": "http://localhost:8000",
|
"site_url": "http://localhost:8000",
|
||||||
"current_year": datetime.datetime.now().year,
|
"current_year": datetime.datetime.now().year,
|
||||||
"stacosys_token": "",
|
|
||||||
"stacosys_url": "",
|
"stacosys_url": "",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue