fix: getProposal api error - #1613
Closed
ellen-wright wants to merge 2 commits into
Closed
Conversation
ellen-wright
requested review from
deepaksftc and
jekabs-karklins
and removed request for
EdwardHaynes
June 30, 2026 08:40
Collaborator
|
I don't understand the purpose of this PR. This API ultimately calls QuestionaryDataSource.ts (getIsCompleted) which returns a promise(boolean) So why do we need to allow the API to return null if it can't return null given its implementation? What is the issue you are facing? |
Contributor
|
I also believe that the problem is somewhere else. By inspecting code I can see that if it is I think we would want to investigate to see how does |
Contributor
Author
|
Thanks for the help, I will close this PR and do some more looking into it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
refs: UserOfficeProject/issue-tracker#1620
There has been an error when calling the getProposal api call that the isComplete cannot be null.
This can be resolved by allowing it to be null.
This includes schema changes that need to be approved
Tests included/Docs Updated?