Update schemaUtils.js

added clean web hook name
This commit is contained in:
Luis Tejeda
2022-01-27 15:55:56 -06:00
parent 7bf1218ee2
commit dd3b77923a

View File

@@ -4642,7 +4642,7 @@ module.exports = {
if (schemaPathObj.kind === 'webhooks') {
rootCollectionVariables = this.convertToPmCollectionVariables(
schema.baseUrlVariables,
schemaPath.startsWith('/') ? schemaPath.slice(1) : schemaPath,
schemaPath.startsWith('/') ? this.cleanWebhookName(schemaPath.slice(1)) : this.cleanWebhookName(schemaPath),
schema.baseUrl
);
}