mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🔥 Remove superfluous check
This commit is contained in:
parent
dc8d266fe4
commit
1420386097
|
@ -325,8 +325,6 @@ export default mixins(
|
||||||
* Check if any of the node's credential types may be used to make a request with the HTTP Request node v2.
|
* Check if any of the node's credential types may be used to make a request with the HTTP Request node v2.
|
||||||
*/
|
*/
|
||||||
checkHttpRequestNodeSupport(credentialTypeNames: string[]) {
|
checkHttpRequestNodeSupport(credentialTypeNames: string[]) {
|
||||||
if (!this.isHttpRequestNodeV2(this.node)) return;
|
|
||||||
|
|
||||||
this.isSupportedByHttpRequestNode = credentialTypeNames.some(name => {
|
this.isSupportedByHttpRequestNode = credentialTypeNames.some(name => {
|
||||||
const credentialType = this.getCredentialTypeByName(name);
|
const credentialType = this.getCredentialTypeByName(name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue