use query for get api

This commit is contained in:
2023-01-15 14:10:46 +01:00
parent 3665831264
commit 18cfd6b2c4
+1 -1
View File
@@ -36,7 +36,7 @@ def send_email():
@auth.login_required
@cross_origin()
def get_accepted_contacts():
day = request.get_json()['day']
day = request.args.get('day')
print(day)
accepted_list = []
for accepted_contact in MONGO_STORE_MANAGER.get_all_accepted_appointments_for_day(day):