use query for get api
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user