mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3881] [MERGED] fix: secret env bug in firebase due to undefined value #4567
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4567
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/3881
Author: @nivedin
Created: 3/7/2024
Status: ✅ Merged
Merged: 3/13/2024
Merged by: @AndrewBastin
Base:
release/2024.3.0← Head:fix/secret-var-bug📝 Commits (4)
40e8696fix: secret env bug in firebase due to undefined value63cbaabchore: add uniqid when updating version5f9f9adrefactor: use more charecter ID for enva3da14drefactor: ensure empty string IDs fall back to the unique ID variant📊 Changes
8 files changed (+26 additions, -24 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/environments/my/Details.vue(+5 -7)📝
packages/hoppscotch-common/src/components/environments/teams/Details.vue(+4 -6)📝
packages/hoppscotch-common/src/helpers/import-export/import/insomniaEnv.ts(+2 -2)📝
packages/hoppscotch-common/src/helpers/import-export/import/postmanEnv.ts(+2 -2)➕
packages/hoppscotch-common/src/helpers/utils/uniqueID.ts(+3 -0)📝
packages/hoppscotch-common/src/newstore/environments.ts(+5 -4)📝
packages/hoppscotch-data/src/environment/index.ts(+2 -2)📝
packages/hoppscotch-data/src/environment/v/1.ts(+3 -1)📄 Description
Closes HFE-440
Description
This PR fixes the issue in secret environment feature where when pushing the environment with
undefinedvalue failed, resulting in empty secret env's.Also add id while upgrading env version.
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.