mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
✏️ Rename arg
This commit is contained in:
parent
0d4dbdc4f6
commit
5743da3e0d
|
@ -316,8 +316,8 @@ export default mixins(
|
||||||
/**
|
/**
|
||||||
* Check if the node's currently active credential type may be used to make a request with the HTTP Request node v2.
|
* Check if the node's currently active credential type may be used to make a request with the HTTP Request node v2.
|
||||||
*/
|
*/
|
||||||
checkIfSupportedByHttpRequestNode(activeCredentialType: string) {
|
checkIfSupportedByHttpRequestNode(activeCredentialTypeName: string) {
|
||||||
const credentialType = this.getCredentialTypeByName(activeCredentialType);
|
const credentialType = this.getCredentialTypeByName(activeCredentialTypeName);
|
||||||
|
|
||||||
this.isSupportedByHttpRequestNode = (
|
this.isSupportedByHttpRequestNode = (
|
||||||
credentialType.name.slice(0, -4).endsWith('OAuth') ||
|
credentialType.name.slice(0, -4).endsWith('OAuth') ||
|
||||||
|
|
Loading…
Reference in a new issue