fix discover page

This commit is contained in:
Son 2022-03-08 16:38:03 +01:00
parent b711743d6e
commit 6f80edfd64
1 changed files with 1 additions and 1 deletions

View File

@ -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)