diff --git a/Website/__init__.py b/Website/__init__.py
index d6deb4d..71b264c 100644
--- a/Website/__init__.py
+++ b/Website/__init__.py
@@ -6,7 +6,7 @@ from markupsafe import escape
from .db import get_db
from datetime import datetime
finished = None
-
+preis = 1.5 #Ein Getraenk
#flask_config
DATABASE = './Website/mate.db'
@@ -83,7 +83,7 @@ def create_app(test_config=None):
users = c.fetchall()
text = ""
for i in users:
- text = text + f'
'
+ text = text + f'
'
return '''
@@ -350,7 +350,7 @@ def create_app(test_config=None):
return make_response(json.dumps({"mode":"error","error":"043"}))
- @app.route("/api/tag_id", methods=['GET', 'POST'])
+ @app.route("/api/tag_id", methods=['POST'])
def get_id():
global finished
global message
@@ -410,7 +410,7 @@ def create_app(test_config=None):
if user_list != []:
balance_old = user_list[0][2]
if user_queue.qsize() == 0:
- c.execute(f"UPDATE users SET balance = balance - 150 WHERE id={tag[1]}")
+ c.execute(f"UPDATE users SET balance = balance - {preis*100} WHERE id={tag[1]}")
db.commit()
c.execute(f"SELECT * FROM users WHERE id={tag[1]}")
user = c.fetchone()