mirror of
https://github.com/foss42/apidash.git
synced 2025-06-05 19:14:25 +08:00
feat: add environment variable support for text request body
This commit is contained in:
@ -86,6 +86,7 @@ HttpRequestModel substituteHttpRequestModel(
|
|||||||
value: substituteVariables(param.value, envMap, activeEnvironmentId),
|
value: substituteVariables(param.value, envMap, activeEnvironmentId),
|
||||||
);
|
);
|
||||||
}).toList(),
|
}).toList(),
|
||||||
|
body: substituteVariables(httpRequestModel.body, envMap, activeEnvironmentId),
|
||||||
);
|
);
|
||||||
return newRequestModel;
|
return newRequestModel;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user