Skip to content

Fix: Backend package.json name mismatch#135

Open
Xenon010101 wants to merge 2 commits into
madanrajsagar:mainfrom
Xenon010101:fix/bug-71-package-name
Open

Fix: Backend package.json name mismatch#135
Xenon010101 wants to merge 2 commits into
madanrajsagar:mainfrom
Xenon010101:fix/bug-71-package-name

Conversation

@Xenon010101

Copy link
Copy Markdown

Closes #71

Root cause: backend/package.json:2 named the package safeguard-backend while the project is called Abhaya.

Fix: Renamed to abhaya-backend to match the project name.

Closes madanrajsagar#63

Stored idToken in req.user within verifyToken middleware (both Firebase
Admin SDK and REST API paths) and replaced 3 redundant re-extractions
in profile lookup, profile update, and account delete handlers.

Signed-off-by: Xenon010101 <xenon010101@users.noreply.github.com>
Closes madanrajsagar#71

Renamed from safeguard-backend to abhaya-backend to match the
project name.

Signed-off-by: Xenon010101 <xenon010101@users.noreply.github.com>
@kajal-code12

Copy link
Copy Markdown

Thank you for addressing this issue.

I noticed that the PR also includes a commit related to Bearer token extraction in the auth route in addition to the package name fix. Would it be better to keep these changes in separate PRs so that each PR addresses a single issue and is easier to review and maintain?

Looking forward to the maintainers' feedback.

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.

backend package.json name mismatch — safeguard-backend vs Abhaya

2 participants