fix discover page
This commit is contained in:
parent
b711743d6e
commit
6f80edfd64
|
@ -8,5 +8,5 @@ from app.models import Client
|
|||
@discover_bp.route("/", methods=["GET", "POST"])
|
||||
@login_required
|
||||
def index():
|
||||
clients = Client.filter_by(published=True).all()
|
||||
clients = Client.filter_by(approved=True).all()
|
||||
return render_template("discover/index.html", clients=clients)
|
||||
|
|
Loading…
Reference in New Issue