[PR #4107] [MERGED] chore: changed the returned status type for errors in the access-tokens #4666

Closed
opened 2026-03-17 02:11:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4107
Author: @balub
Created: 6/5/2024
Status: Merged
Merged: 6/7/2024
Merged by: @balub

Base: nextHead: chore/pat-interceptor-change


📝 Commits (2)

  • 19dba69 chore: changed the returned status type for errors in the access-token interceptor
  • b39e818 chore: removed unused pagination args

📊 Changes

4 files changed (+14 additions, -12 deletions)

View changed files

📝 docker-compose.yml (+3 -3)
📝 packages/hoppscotch-backend/src/errors.ts (+2 -2)
📝 packages/hoppscotch-backend/src/guards/rest-pat-auth.guard.ts (+4 -4)
📝 packages/hoppscotch-backend/src/interceptors/access-token.interceptor.ts (+5 -3)

📄 Description

Closes #

Description

In this PR we are changing the status code and error messages being thrown in the access-token.interceptor.ts file.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4107 **Author:** [@balub](https://github.com/balub) **Created:** 6/5/2024 **Status:** ✅ Merged **Merged:** 6/7/2024 **Merged by:** [@balub](https://github.com/balub) **Base:** `next` ← **Head:** `chore/pat-interceptor-change` --- ### 📝 Commits (2) - [`19dba69`](https://github.com/hoppscotch/hoppscotch/commit/19dba697d5ac6b67db498fa3a666215c1f611883) chore: changed the returned status type for errors in the access-token interceptor - [`b39e818`](https://github.com/hoppscotch/hoppscotch/commit/b39e8185cb8db90bca8cb8fc4d3d5679918bf796) chore: removed unused pagination args ### 📊 Changes **4 files changed** (+14 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docker-compose.yml` (+3 -3) 📝 `packages/hoppscotch-backend/src/errors.ts` (+2 -2) 📝 `packages/hoppscotch-backend/src/guards/rest-pat-auth.guard.ts` (+4 -4) 📝 `packages/hoppscotch-backend/src/interceptors/access-token.interceptor.ts` (+5 -3) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> ### Description <!-- Add a brief description of the pull request --> In this PR we are changing the status code and error messages being thrown in the `access-token.interceptor.ts` file. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:11:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4666
No description provided.