|
@@ -4,6 +4,6 @@ from .go_api_w_random import api_w_random
|
|
|
|
|
|
|
|
async def view_random():
|
|
async def view_random():
|
|
|
with get_db_connect() as conn:
|
|
with get_db_connect() as conn:
|
|
|
- data = await api_w_random()["data"]
|
|
|
|
|
|
|
+ data = (await api_w_random())["data"]
|
|
|
|
|
|
|
|
return redirect(conn, '/w/' + url_pas(data))
|
|
return redirect(conn, '/w/' + url_pas(data))
|