-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case overview children component #195
base: main
Are you sure you want to change the base?
Conversation
Visit the preview URL for this PR (updated for commit ef83b1e): https://childrens-aid-society--pr195-kevinc-caseoverviewc-nbtopqqf.web.app (expires Sat, 11 Nov 2023 21:53:54 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 93f6cb7bff946a1edd29d684408e6d31442cf0b1 |
return jsonify(list(new_children)), 200 | ||
|
||
except Exception as error: | ||
return jsonify(error), 400 |
Check warning
Code scanning / CodeQL
Information exposure through an exception
undos.append((daytime_response,"delete_daytime_contact", daytime_response.id)) | ||
except Exception as error: | ||
run_undos() | ||
return jsonify(error), 400 |
Check warning
Code scanning / CodeQL
Information exposure through an exception
undos.append((child_service, "delete_child", child_response.id)) | ||
except Exception as error: | ||
run_undos() | ||
return jsonify(error), 400 |
Check warning
Code scanning / CodeQL
Information exposure through an exception
caregivers = caregiver_service.get_all_caregivers() | ||
return jsonify(list(map(lambda user: user.__dict__, caregivers))), 200 | ||
except Exception as error: | ||
return jsonify(error), 400 |
Check warning
Code scanning / CodeQL
Information exposure through an exception
return jsonify(updated_caregiver.__dict__), 200 | ||
|
||
except Exception as error: | ||
return jsonify(str(error)), 400 |
Check warning
Code scanning / CodeQL
Information exposure through an exception
# undos.append((child_service, "delete_child", child_response.id)) | ||
except Exception as error: | ||
# run_undos() | ||
return jsonify(error),400 |
Check warning
Code scanning / CodeQL
Information exposure through an exception
7fae671
to
ef83b1e
Compare
Notion ticket link
Case Overview Children Component Backend
Implementation description
Steps to test
What should reviewers focus on?
Checklist