forgot to commit to db 😭

This commit is contained in:
Nyx 2025-03-15 01:20:56 -05:00
parent fb720e98ec
commit 05ecd5f86c

View file

@ -65,6 +65,7 @@ def home():
print("Ask: " + ask)
db.execute(text("INSERT INTO asks (name, ask) VALUES (:name, :ask)"),
{"name": name, "ask": ask})
db.commit()
print("Wrote to DB maybe")
return redirect('/')
return render_template('index.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding)