Skip to content

Conversation

@backportbot-libresign
Copy link

Backport of PR #6356

Replace duplicated saveWithVisibleElements and updateSignatureRequest
methods with a single saveOrUpdateSignatureRequest method in the
files store. This eliminates code duplication and simplifies the API
by using a unified method with a status parameter (default 0 for draft,
1 for request).

Signed-off-by: Vitor Mattos <[email protected]>
Replace calls to saveWithVisibleElements and updateSignatureRequest
with saveOrUpdateSignatureRequest. Remove redundant default parameters
(visibleElements: [], status: 0) that are now handled by the method's
default values, making the code cleaner and more maintainable.

Signed-off-by: Vitor Mattos <[email protected]>
Replace saveWithVisibleElements call with saveOrUpdateSignatureRequest.
Remove redundant visibleElements: [] parameter as it's now the default.

Signed-off-by: Vitor Mattos <[email protected]>
Replace saveWithVisibleElements call with saveOrUpdateSignatureRequest.
Remove redundant status: 0 parameter as it's now the default value.

Signed-off-by: Vitor Mattos <[email protected]>
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Jan 6, 2026
@backportbot-libresign backportbot-libresign bot added this to the Next Patch (32) milestone Jan 6, 2026
@vitormattos vitormattos merged commit 17345d0 into stable32 Jan 6, 2026
56 checks passed
@vitormattos vitormattos deleted the backport/6356/stable32 branch January 6, 2026 20:56
@github-project-automation github-project-automation bot moved this from 0. Needs triage to 4. to release in Roadmap Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 4. to release

Development

Successfully merging this pull request may close these issues.

2 participants