[PR #1802] [MERGED] fix: auth header doubling in codegen #3503

Closed
opened 2026-03-17 01:06:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1802
Author: @AndrewBastin
Created: 9/2/2021
Status: Merged
Merged: 9/2/2021
Merged by: @AndrewBastin

Base: mainHead: bugfix/1798


📝 Commits (1)

  • 58e940d fix: auth header doubling in codegen

📊 Changes

1 file changed (+11 additions, -1 deletions)

View changed files

📝 helpers/codegen/codegen.ts (+11 -1)

📄 Description

fixes #1798

The issue was because the finally calculated headers also contain the calculated authorization headers. This patch removes the header letting the codegen just use the auth state to determine


🔄 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/1802 **Author:** [@AndrewBastin](https://github.com/AndrewBastin) **Created:** 9/2/2021 **Status:** ✅ Merged **Merged:** 9/2/2021 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `bugfix/1798` --- ### 📝 Commits (1) - [`58e940d`](https://github.com/hoppscotch/hoppscotch/commit/58e940d1933b87a1a89a0e529afed50cd7b79c23) fix: auth header doubling in codegen ### 📊 Changes **1 file changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `helpers/codegen/codegen.ts` (+11 -1) </details> ### 📄 Description fixes #1798 The issue was because the finally calculated headers also contain the calculated authorization headers. This patch removes the header letting the codegen just use the auth state to determine --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:06:42 +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#3503
No description provided.