mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
fix: subEnvironment's id should be real id instead of n/a (#7339)
This commit is contained in:
parent
c90b82c863
commit
fcc8bee4c7
@ -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 :
|
||||
|
Loading…
Reference in New Issue
Block a user