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

Duration options are stored as null when creating or updating a policy #278

Open
bsushmith opened this issue Sep 2, 2022 · 0 comments
Open
Labels
appeal bug Something isn't working

Comments

@bsushmith
Copy link
Member

Description
On creating or updating a policy with appeal_config and duration_options configured, the resultant appeal_config value in the policies table is null. This is due to a mismatch between the proto definition expected value and the one in guardian docs.

based on Proton definition, code expects the field to be appeal, whereas based on guardian docs and json tags inside code expect it to be appeal_config. Modifying the json request body to have appeal instead seems to work.

Expected behavior
protos and guardian docs should be in sync.

@ravisuhag ravisuhag changed the title duration options are stored as null when creating or updating a policy Duration options are stored as null when creating or updating a policy Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appeal bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant