Skip to content

fix: correct baseapi of docxtopdf and decryptpdf#1803

Merged
prafull-opensignlabs merged 1 commit intostagingfrom
updates-15736278136
Jun 18, 2025
Merged

fix: correct baseapi of docxtopdf and decryptpdf#1803
prafull-opensignlabs merged 1 commit intostagingfrom
updates-15736278136

Conversation

@nxglabs
Copy link
Collaborator

@nxglabs nxglabs commented Jun 18, 2025

No description provided.

@vercel
Copy link

vercel bot commented Jun 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-sign ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2025 2:54pm

Copilot AI review requested due to automatic review settings June 18, 2025 14:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors URL construction by replacing direct string manipulation with a dedicated utility function, removeTrailingSegment, to improve consistency in handling trailing URL segments. Additionally, it updates both the Form.jsx and Utils.jsx files to adopt this new approach and adds accompanying JSDoc comments to document the utility function.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
apps/OpenSign/src/pages/Form.jsx Updates URL formation for the docxtopdf conversion by using removeTrailingSegment.
apps/OpenSign/src/constant/Utils.jsx Adds the new removeTrailingSegment function and updates decryptPdf URL formation accordingly.
Comments suppressed due to low confidence (1)

apps/OpenSign/src/constant/Utils.jsx:109

  • [nitpick] Consider replacing the typographic quotes with standard double quotes for consistency and clarity in the documentation comments.
  // Normalize a trailing slash (e.g. “/app/” → “/app”)

@prafull-opensignlabs prafull-opensignlabs changed the title Merge pull request #864 from nxglabs/staging fix: correct baseapi of docxtopdf and decryptpdf Jun 18, 2025
@prafull-opensignlabs prafull-opensignlabs merged commit 0df4406 into staging Jun 18, 2025
5 checks passed
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.

3 participants