closing2
This commit is contained in:
parent
99b0a8ca17
commit
609bbfafc6
12 changed files with 64 additions and 64 deletions
|
@ -33,7 +33,7 @@ def searchparse(text):
|
|||
|
||||
|
||||
@app.get("/search/posts")
|
||||
@auth_desired
|
||||
@auth_required
|
||||
def searchposts(v):
|
||||
if not v or v.oldsite: template = ''
|
||||
else: template = 'CHRISTMAS/'
|
||||
|
@ -195,7 +195,7 @@ def searchposts(v):
|
|||
)
|
||||
|
||||
@app.get("/search/comments")
|
||||
@auth_desired
|
||||
@auth_required
|
||||
def searchcomments(v):
|
||||
|
||||
if not v or v.oldsite: template = ''
|
||||
|
@ -279,7 +279,7 @@ def searchcomments(v):
|
|||
|
||||
|
||||
@app.get("/search/users")
|
||||
@auth_desired
|
||||
@auth_required
|
||||
def searchusers(v):
|
||||
if not v or v.oldsite: template = ''
|
||||
else: template = 'CHRISTMAS/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue