Skip to content

Commit

Permalink
fix: subEnvironment's id should be real id instead of n/a (#7339)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihexxa authored Apr 30, 2024
1 parent c90b82c commit fcc8bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/src/common/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export async function getRenderContext(
workspace ? workspace._id : 'n/a',
);
const subEnvironmentId = environment ?
typeof environment === 'string' ? environment : 'n/a' :
typeof environment === 'string' ? environment : environment._id :
'n/a';
const subEnvironment = environment ?
typeof environment === 'string' ? await models.environment.getById(environment) : environment :
Expand Down

0 comments on commit fcc8bee

Please sign in to comment.