Skip to content
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

notifications: fix email_notification_type #2568

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

rerowep
Copy link
Contributor

@rerowep rerowep commented Nov 30, 2021

  • notification_settings is not a required field for notifications.
    To prevent KeyError exceptions we have to use get.

Co-Authored-by: Peter Weber [email protected]

Why are you opening this PR?

  • Which task/US does it implement?
  • Which issue does it fix?

Dependencies

My PR depends on the following rero-ils-ui's PR(s):

  • rero/rero-ils-ui#

How to test?

  • What command should I have to run to test your PR?
  • What should I test through the UI?

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

* `notification_settings` is not a required field for notifications.
  To prevent `KeyError` exceptions we have to use `get`.

Co-Authored-by: Peter Weber <[email protected]>
@rerowep rerowep added this to the v1.7.0 milestone Nov 30, 2021
@rerowep rerowep self-assigned this Nov 30, 2021
@rerowep rerowep merged commit 512ee4b into rero:staging Nov 30, 2021
@rerowep rerowep deleted the wep-fix-notification branch December 2, 2021 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants