Skip to content

Commit

Permalink
upload sql file
Browse files Browse the repository at this point in the history
  • Loading branch information
link-hsu committed Sep 3, 2023
1 parent 964f24f commit 4e04cbb
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def booking():
def thankyou():
return render_template("thankyou.html")

# app.run(host="0.0.0.0", port=3000)
app.run(port=3000)
app.run(host="0.0.0.0", port=3000)
# app.run(port=3000)
140 changes: 140 additions & 0 deletions attraction_second.sql

Large diffs are not rendered by default.

Binary file added data/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion models/attractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_attraction_search_id(id):

cursor.execute(query, (int(id),))
results = cursor.fetchall()
print(results)

if not results:
return jsonify({"error": True, "message": "attraction doesn't exist"}), 500
result = {
Expand Down

0 comments on commit 4e04cbb

Please sign in to comment.